#CFBF7C#CFBF7C

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

Color values

HEX#CFBF7C
RGBrgb(207, 191, 124)
HSLhsl(48, 46%, 65%)
HSVhsv(48, 40%, 81%)
CMYKcmyk(0%, 7.7%, 40.1%, 18.8%)
CIE-LABlab(77.27, -3.85, 35.83)
CIE-LCHlch(77.27, 36.04, 96.14°)
OKLaboklab(80.27% -0.0098 0.0878)
OKLCHoklch(80.27% 0.088 96.3)
XYZxyz(48.0020, 51.9838, 26.5702)
Luminance0.5198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBF7C #7C8CCF
analogous
#CF967C #CFBF7C #B5CF7C
triadic
#CFBF7C #7CCFBF #BF7CCF
tetradic
#CFBF7C #7CCF96 #7C8CCF #CF7CB5
square
#CFBF7C #7CCF96 #7C8CCF #CF7CB5
split-complementary
#CFBF7C #7CB5CF #967CCF
monochromatic
#998638 #BFA94F #CFBF7C #DFD5A9 #F0EBD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFBF7C#FFFFFF#000000##000000
##CFBF7C1.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)
#CCBC77
Deuteranopia (green-blind)
#D0C17E
Tritanopia (blue-blind)
#DBB6AE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfbf7c;
/* rgb */ color: rgb(207, 191, 124);
/* oklch */ color: oklch(80.3% 0.088 96.3);
Tailwind
colors: {
  custom: {
    50: '#dfd2a3',
    500: '#cfbf7c',
    950: '#000000',
  },
}
SCSS
$custom: #cfbf7c;
$custom-light: #dfd2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbf7c",
  "rgb": {
    "r": 207,
    "g": 191,
    "b": 124
  },
  "hsl": {
    "h": 48.434,
    "s": 46.369,
    "l": 64.902
  },
  "oklch": {
    "l": 0.80275,
    "c": 0.08834,
    "h": 96.3
  },
  "luminance": 0.51982
}

Semantic roles & 50–950 ramp

primary
#CFBF7C
secondary
#51609E
accent
#47BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CFBF7C

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

Preview Lab → · Contrast checker → · Palette generator →

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