#CFBF7D#CFBF7D

#CFBF7D is a light, moderate yellow. Relative luminance 0.520; OKLCH L 80.3% C 0.087 H 96.2°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#CFBF7D
RGBrgb(207, 191, 125)
HSLhsl(48, 46%, 65%)
HSVhsv(48, 40%, 81%)
CMYKcmyk(0%, 7.7%, 39.6%, 18.8%)
CIE-LABlab(77.29, -3.74, 35.34)
CIE-LCHlch(77.29, 35.53, 96.05°)
OKLaboklab(80.29% -0.0094 0.0867)
OKLCHoklch(80.29% 0.087 96.2)
XYZxyz(48.0656, 52.0092, 26.9049)
Luminance0.5201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBF7D #7D8DCF
analogous
#CF967D #CFBF7D #B6CF7D
triadic
#CFBF7D #7DCFBF #BF7DCF
tetradic
#CFBF7D #7DCF96 #7D8DCF #CF7DB6
square
#CFBF7D #7DCF96 #7D8DCF #CF7DB6
split-complementary
#CFBF7D #7DB6CF #967DCF
monochromatic
#998639 #BEA950 #CFBF7D #E0D5AA #F0EBD6

Accessibility & contrast

On white

1.84
#CFBF7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#CFBF7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBF7D
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBF7D#FFFFFF#000000##000000
##CFBF7D1.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBC78
Deuteranopia (green-blind)
#D0C17F
Tritanopia (blue-blind)
#DBB6AE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfbf7d;
/* rgb */ color: rgb(207, 191, 125);
/* oklch */ color: oklch(80.3% 0.087 96.2);
Tailwind
colors: {
  custom: {
    50: '#dfd2a3',
    500: '#cfbf7d',
    950: '#000000',
  },
}
SCSS
$custom: #cfbf7d;
$custom-light: #dfd2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbf7d",
  "rgb": {
    "r": 207,
    "g": 191,
    "b": 125
  },
  "hsl": {
    "h": 48.293,
    "s": 46.067,
    "l": 65.098
  },
  "oklch": {
    "l": 0.80292,
    "c": 0.0872,
    "h": 96.2
  },
  "luminance": 0.52008
}

Semantic roles & 50–950 ramp

primary
#CFBF7D
secondary
#51609F
accent
#48B92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CFBF7D

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

Preview Lab → · Contrast checker → · Palette generator →

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