RAL Classic color

RAL 7006 Beige grey #766A5E

RAL 7006 Beige grey is shown here as #766A5E, a widely published sRGB approximation of the printed swatch. It is a grayish brown in the neutral family. In OKLCH it sits at lightness 0.532, chroma 0.024 and hue 67.3°. The nearest CSS named color is dimgray (#696969), ΔE2000 7.8 away.

Relative luminance
0.1497
OKLCH L · C · h
0.532 · 0.024 · 67.3
Best text
White 5.25:1
Hue family
Neutral

#766A5E color codes

HEX
#766A5E
RGB
rgb(118, 106, 94)
HSL
hsl(30, 11%, 42%)
OKLCH
oklch(0.532 0.024 67.3)
OKLab
oklab(0.532 0.009 0.022)
CIELAB (D65)
L* 45.59, a* 2.58, b* 8.46
XYZ (D65)
X 14.65, Y 14.97, Z 12.71
CMYK (naive)
cmyk(0%, 10%, 20%, 54%)

CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.

RAL and RAL Classic are trademarks of RAL gGmbH, which this site is not affiliated with. The sRGB value is an approximation of the printed swatch; check a physical RAL color card before you specify a paint.

Legibility

Contrast: is #766A5E accessible?

White text on it reaches 5.25:1, passing AA. Black text manages only 3.99:1, enough for large text only.

WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.

Open the Contrast System
  • Black text on it

    3.99:1

    • AA fails
    • AA large passes
    • AAA fails
    • APCA Lc +27
  • White text on it

    5.25:1

    • AA passes
    • AA large passes
    • AAA fails
    • APCA Lc −81
  • As text on black

    3.99:1

    • AA fails
    • AA large passes
    • AAA fails
    • APCA Lc −25
  • As text on white

    5.25:1

    • AA passes
    • AA large passes
    • AAA fails
    • APCA Lc +76

Nearest versions that pass 4.5:1

  • For text on white

    #766A5E 5.25:1

    It already reaches 5.25:1 on white, so no change is needed.

  • For text on black

    #7F7367 4.55:1

    Lightening its OKLCH lightness from 0.53 to 0.56 reaches 4.55:1 on black, keeping the hue.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #766A5E live

Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.

The studio needs JavaScript.

Scale

Shades and tints of #766A5E

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #766A5E sits at step 600.

  1. 50#FEF3E8
    White
    1.09
    Black
    19.19
  2. 100#F4E9DE
    White
    1.19
    Black
    17.55
  3. 200#E1D5C9
    White
    1.44
    Black
    14.56
  4. 300#C8BBAF
    White
    1.87
    Black
    11.18
  5. 400#AC9F92
    White
    2.58
    Black
    8.12
  6. 500#908477
    White
    3.65
    Black
    5.75
  7. 600This color#766A5E
    White
    5.25
    Black
    3.99
  8. 700#61564B
    White
    7.14
    Black
    2.94
  9. 800#483E34
    White
    10.42
    Black
    2.01
  10. 900#30271E
    White
    14.63
    Black
    1.43
  11. 950#1C150D
    White
    18.06
    Black
    1.16

Under each step, white and black text on it; a bold figure passes 4.5:1.

Gamut

How vivid #766A5E can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.117; #766A5E uses 20% of it. Display P3, which many recent phones and laptops show, reaches 0.135 there: 15% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.024
sRGB edge
0.117
Display P3 edge
0.135
Rec. 2020 edge
0.137
Dominant wavelength
581 nm
Excitation purity
16%
Chromaticity
x 0.3461, y 0.3537
  • This color#766A5E
  • Most vivid in sRGB#985D00
  • Most vivid in Display P3oklch(0.532 0.135 67.3)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #766a5e;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.5838 0.363 0); }
}

Mixing

Mixing #766A5E

Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.

White #FFFFFF

  • sRGB50%#BBB5AF
  • OKLab50%#B8B2AB
  • OKLCH50%#B8B2AB

Black #000000

  • sRGB50%#3B352F
  • OKLab50%#29241F
  • OKLCH50%#29241F

Its complement #626E7A

  • sRGB50%#6C6C6C
  • OKLab50%#6C6C6C
  • OKLCH50%#766771
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #766a5e, white);
color: color-mix(in oklch, #766a5e 50%, white);

In use

#766A5E in an interface

A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.

Light page

  • Button labelText, 4.5:15.25:1 Passes
  • Link and body-size textText, 4.5:15.25:1 Passes
  • Large headingLarge text, 3:15.25:1 Passes
  • Icons, borders and focus ringsNon-text, 3:15.25:1 Passes

Dark page

  • Button labelText, 4.5:15.25:1 Passes
  • Link and body-size textText, 4.5:13.56:1 Fails
  • Large headingLarge text, 3:13.56:1 Passes
  • Icons, borders and focus ringsNon-text, 3:13.56:1 Passes

For text on this page, the nearest shade that passes is #887B6F 4.55:1

Color vision

How #766A5E looks with color blindness

Tritanopia changes it most, ΔE2000 8.5; protanopia changes it least, 4.8.

Simulated with Machado et al. (2009) at full severity, in linear light.

Simulate a whole page What each type sees
  • Protanopia

    No working red (long-wavelength) cones

    #6E6A5D ΔE2000 4.8

    Close match

    Reads as grayish brown

  • Deuteranopia

    No working green (medium-wavelength) cones

    #716D5E ΔE2000 5.3

    Noticeable

    Reads as grayish brown

  • Tritanopia

    No working blue (short-wavelength) cones

    #7B6767 ΔE2000 8.5

    Noticeable

    Reads as grayish brown

  • Achromatopsia

    No cone color vision; lightness only

    #6C6C6C ΔE2000 7.7

    Noticeable

    Reads as gray

Pairing check

A near-neutral has no complementary hue to pair with, so tell it apart from neighboring grays by lightness contrast alone.

Harmony

Color harmonies for #766A5E

Its complement is #626E7A, a grayish blue.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#766A5E
  • Complement#626E7A

Complementary

Open in Harmony Studio
  • −30°#796863
  • Base#766A5E
  • +30°#706D5D
  • Base#766A5E
  • +120°#5D716F
  • +240°#706977
  • Base#766A5E
  • +150°#5D7075
  • +210°#696B7A

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-ral-7006: #766a5e;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'ral-7006': '#766a5e',
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  --color-ral-7006: oklch(0.532 0.024 67.3);
}

Design token (W3C DTCG)

{
  "color": {
    "ral-7006": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.4627, 0.4157, 0.3686],
        "hex": "#766a5e"
      },
      "$description": "RAL 7006 Beige grey (approximate sRGB)"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let ral7006 = Color(.sRGB, red: 0.463, green: 0.416, blue: 0.369, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Ral7006 = Color(0xFF766A5E)
}

Matches

The nearest match in each system

The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.

Tools

Open #766A5E in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.