#CFBA74#CFBA74

#CFBA74 is a light, moderate yellow. Relative luminance 0.496; OKLCH L 79.1% C 0.093 H 93.3°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#CFBA74
RGBrgb(207, 186, 116)
HSLhsl(46, 49%, 63%)
HSVhsv(46, 44%, 81%)
CMYKcmyk(0%, 10.1%, 44%, 18.8%)
CIE-LABlab(75.85, -2.09, 38.13)
CIE-LCHlch(75.85, 38.19, 93.13°)
OKLaboklab(79.12% -0.0053 0.0926)
OKLCHoklch(79.12% 0.093 93.3)
XYZxyz(46.4447, 49.6459, 23.6557)
Luminance0.4964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA74 #7489CF
analogous
#CF8C74 #CFBA74 #B6CF74
triadic
#CFBA74 #74CFBA #BA74CF
tetradic
#CFBA74 #74CF8C #7489CF #CF74B6
square
#CFBA74 #74CF8C #7489CF #CF74B6
split-complementary
#CFBA74 #74B6CF #8C74CF
monochromatic
#957F33 #BFA347 #CFBA74 #DFD1A1 #EEE7CF

Accessibility & contrast

On white

1.92
#CFBA74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.93
#CFBA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBA74
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBA74#FFFFFF#000000##000000
##CFBA741.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B76F
Deuteranopia (green-blind)
#CDBE77
Tritanopia (blue-blind)
#DCB0A9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfba74;
/* rgb */ color: rgb(207, 186, 116);
/* oklch */ color: oklch(79.1% 0.093 93.3);
Tailwind
colors: {
  custom: {
    50: '#dfce9d',
    500: '#cfba74',
    950: '#000000',
  },
}
SCSS
$custom: #cfba74;
$custom-light: #dfce9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba74",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 116
  },
  "hsl": {
    "h": 46.154,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.79115,
    "c": 0.09279,
    "h": 93.3
  },
  "luminance": 0.49644
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFBA74

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

Preview Lab → · Contrast checker → · Palette generator →

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