#CFBC7E#CFBC7E

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

Color values

HEX#CFBC7E
RGBrgb(207, 188, 126)
HSLhsl(46, 46%, 65%)
HSVhsv(46, 39%, 81%)
CMYKcmyk(0%, 9.2%, 39.1%, 18.8%)
CIE-LABlab(76.52, -2.06, 33.83)
CIE-LCHlch(76.52, 33.89, 93.49°)
OKLaboklab(79.69% -0.0044 0.0833)
OKLCHoklch(79.69% 0.083 93)
XYZxyz(47.4823, 50.7398, 27.0272)
Luminance0.5074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBC7E #7E91CF
analogous
#CF937E #CFBC7E #B9CF7E
triadic
#CFBC7E #7ECFBC #BC7ECF
tetradic
#CFBC7E #7ECF93 #7E91CF #CF7EB9
square
#CFBC7E #7ECF93 #7E91CF #CF7EB9
split-complementary
#CFBC7E #7EB9CF #937ECF
monochromatic
#998339 #BEA551 #CFBC7E #E0D3AB #F0EAD7

Accessibility & contrast

On white

1.88
#CFBC7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.15
#CFBC7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBC7E
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBC7E#FFFFFF#000000##000000
##CFBC7E1.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfbc7e;
/* rgb */ color: rgb(207, 188, 126);
/* oklch */ color: oklch(79.7% 0.083 93.0);
Tailwind
colors: {
  custom: {
    50: '#dfd0a4',
    500: '#cfbc7e',
    950: '#000000',
  },
}
SCSS
$custom: #cfbc7e;
$custom-light: #dfd0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbc7e",
  "rgb": {
    "r": 207,
    "g": 188,
    "b": 126
  },
  "hsl": {
    "h": 45.926,
    "s": 45.763,
    "l": 65.294
  },
  "oklch": {
    "l": 0.79693,
    "c": 0.08339,
    "h": 93
  },
  "luminance": 0.50738
}

Semantic roles & 50–950 ramp

primary
#CFBC7E
secondary
#52649F
accent
#4DB92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15130F
muted
#848380

Preview Lab

Preview with #CFBC7E

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

Preview Lab → · Contrast checker → · Palette generator →

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