#CFBC7C#CFBC7C

#CFBC7C is a light, moderate yellow. Relative luminance 0.507; OKLCH L 79.7% C 0.086 H 93.5°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#CFBC7C
RGBrgb(207, 188, 124)
HSLhsl(46, 46%, 65%)
HSVhsv(46, 40%, 81%)
CMYKcmyk(0%, 9.2%, 40.1%, 18.8%)
CIE-LABlab(76.49, -2.28, 34.82)
CIE-LCHlch(76.49, 34.90, 93.75°)
OKLaboklab(79.66% -0.0052 0.0855)
OKLCHoklch(79.66% 0.086 93.5)
XYZxyz(47.3545, 50.6887, 26.3543)
Luminance0.5069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBC7C #7C8FCF
analogous
#CF927C #CFBC7C #B9CF7C
triadic
#CFBC7C #7CCFBC #BC7CCF
tetradic
#CFBC7C #7CCF92 #7C8FCF #CF7CB9
square
#CFBC7C #7CCF92 #7C8FCF #CF7CB9
split-complementary
#CFBC7C #7CB9CF #927CCF
monochromatic
#998338 #BFA54F #CFBC7C #DFD3A9 #F0EAD6

Accessibility & contrast

On white

1.89
#CFBC7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#CFBC7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBC7C
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBC7C#FFFFFF#000000##000000
##CFBC7C1.001.8911.1411.14
#FFFFFF1.891.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B977
Deuteranopia (green-blind)
#CEBF7E
Tritanopia (blue-blind)
#DBB3AC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfbc7c;
/* rgb */ color: rgb(207, 188, 124);
/* oklch */ color: oklch(79.7% 0.086 93.5);
Tailwind
colors: {
  custom: {
    50: '#dfd0a2',
    500: '#cfbc7c',
    950: '#000000',
  },
}
SCSS
$custom: #cfbc7c;
$custom-light: #dfd0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbc7c",
  "rgb": {
    "r": 207,
    "g": 188,
    "b": 124
  },
  "hsl": {
    "h": 46.265,
    "s": 46.369,
    "l": 64.902
  },
  "oklch": {
    "l": 0.79658,
    "c": 0.08564,
    "h": 93.5
  },
  "luminance": 0.50687
}

Semantic roles & 50–950 ramp

primary
#CFBC7C
secondary
#51639E
accent
#4CBA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15130F
muted
#848380

Preview Lab

Preview with #CFBC7C

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CFBC7C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva