#CFB974#CFB974

#CFB974 is a light, moderate yellow. Relative luminance 0.492; OKLCH L 78.9% C 0.092 H 92.4°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#CFB974
RGBrgb(207, 185, 116)
HSLhsl(45, 49%, 63%)
HSVhsv(45, 44%, 81%)
CMYKcmyk(0%, 10.6%, 44%, 18.8%)
CIE-LABlab(75.59, -1.56, 37.80)
CIE-LCHlch(75.59, 37.84, 92.37°)
OKLaboklab(78.91% -0.0038 0.0919)
OKLCHoklch(78.91% 0.092 92.4)
XYZxyz(46.2347, 49.2261, 23.5858)
Luminance0.4922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB974 #748ACF
analogous
#CF8B74 #CFB974 #B7CF74
triadic
#CFB974 #74CFB9 #B974CF
tetradic
#CFB974 #74CF8B #748ACF #CF74B7
square
#CFB974 #74CF8B #748ACF #CF74B7
split-complementary
#CFB974 #74B7CF #8B74CF
monochromatic
#957E33 #BFA247 #CFB974 #DFD0A1 #EEE7CF

Accessibility & contrast

On white

1.94
#CFB974 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#CFB974 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB974
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB974#FFFFFF#000000##000000
##CFB9741.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B66F
Deuteranopia (green-blind)
#CCBD76
Tritanopia (blue-blind)
#DCAFA8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfb974;
/* rgb */ color: rgb(207, 185, 116);
/* oklch */ color: oklch(78.9% 0.092 92.4);
Tailwind
colors: {
  custom: {
    50: '#dfcd9d',
    500: '#cfb974',
    950: '#000000',
  },
}
SCSS
$custom: #cfb974;
$custom-light: #dfcd9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb974",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 116
  },
  "hsl": {
    "h": 45.495,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.7891,
    "c": 0.09197,
    "h": 92.4
  },
  "luminance": 0.49224
}

Semantic roles & 50–950 ramp

primary
#CFB974
secondary
#BFC7E0
accent
#4DBC2A
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CFB974

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

Preview Lab → · Contrast checker → · Palette generator →

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