#CFBF74#CFBF74

#CFBF74 is a light, moderate yellow. Relative luminance 0.518; OKLCH L 80.1% C 0.097 H 97.6°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#CFBF74
RGBrgb(207, 191, 116)
HSLhsl(49, 49%, 63%)
HSVhsv(49, 44%, 81%)
CMYKcmyk(0%, 7.7%, 44%, 18.8%)
CIE-LABlab(77.15, -4.70, 39.78)
CIE-LCHlch(77.15, 40.05, 96.74°)
OKLaboklab(80.15% -0.0129 0.0964)
OKLCHoklch(80.15% 0.097 97.6)
XYZxyz(47.5165, 51.7896, 24.0130)
Luminance0.5179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBF74 #7484CF
analogous
#CF9174 #CFBF74 #B1CF74
triadic
#CFBF74 #74CFBF #BF74CF
tetradic
#CFBF74 #74CF91 #7484CF #CF74B1
square
#CFBF74 #74CF91 #7484CF #CF74B1
split-complementary
#CFBF74 #74B1CF #9174CF
monochromatic
#958433 #BFAA47 #CFBF74 #DFD4A1 #EEE9CF

Accessibility & contrast

On white

1.85
#CFBF74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#CFBF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBF74
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBF74#FFFFFF#000000##000000
##CFBF741.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBB6E
Deuteranopia (green-blind)
#D1C177
Tritanopia (blue-blind)
#DCB5AD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfbf74;
/* rgb */ color: rgb(207, 191, 116);
/* oklch */ color: oklch(80.1% 0.097 97.6);
Tailwind
colors: {
  custom: {
    50: '#dfd29d',
    500: '#cfbf74',
    950: '#000000',
  },
}
SCSS
$custom: #cfbf74;
$custom-light: #dfd29d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbf74",
  "rgb": {
    "r": 207,
    "g": 191,
    "b": 116
  },
  "hsl": {
    "h": 49.451,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.80145,
    "c": 0.09721,
    "h": 97.6
  },
  "luminance": 0.51788
}

Semantic roles & 50–950 ramp

primary
#CFBF74
secondary
#4C5A9B
accent
#43BC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFBF74

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

Preview Lab → · Contrast checker → · Palette generator →

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