#CFCB74#CFCB74

#CFCB74 is a very light, moderate yellow. Relative luminance 0.572; OKLCH L 82.7% C 0.110 H 106.2°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#CFCB74
RGBrgb(207, 203, 116)
HSLhsl(57, 49%, 63%)
HSVhsv(57, 44%, 81%)
CMYKcmyk(0%, 1.9%, 44%, 18.8%)
CIE-LABlab(80.31, -10.87, 43.72)
CIE-LCHlch(80.31, 45.05, 103.96°)
OKLaboklab(82.65% -0.0307 0.1052)
OKLCHoklch(82.65% 0.11 106.2)
XYZxyz(50.2414, 57.2395, 24.9213)
Luminance0.5724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCB74 #7478CF
analogous
#CF9D74 #CFCB74 #A5CF74
triadic
#CFCB74 #74CFCB #CB74CF
tetradic
#CFCB74 #74CF9D #7478CF #CF74A5
square
#CFCB74 #74CF9D #7478CF #CF74A5
split-complementary
#CFCB74 #74A5CF #9D74CF
monochromatic
#959133 #BFBA47 #CFCB74 #DFDCA1 #EEEDCF

Accessibility & contrast

On white

1.69
#CFCB74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.45
#CFCB74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCB74
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCB74#FFFFFF#000000##000000
##CFCB741.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C56D
Deuteranopia (green-blind)
#DAC978
Tritanopia (blue-blind)
#DBC1B6
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfcb74;
/* rgb */ color: rgb(207, 203, 116);
/* oklch */ color: oklch(82.7% 0.110 106.2);
Tailwind
colors: {
  custom: {
    50: '#dfda9d',
    500: '#cfcb74',
    950: '#000000',
  },
}
SCSS
$custom: #cfcb74;
$custom-light: #dfda9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcb74",
  "rgb": {
    "r": 207,
    "g": 203,
    "b": 116
  },
  "hsl": {
    "h": 57.363,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.82651,
    "c": 0.10958,
    "h": 106.2
  },
  "luminance": 0.57238
}

Semantic roles & 50–950 ramp

primary
#CFCB74
secondary
#4C509B
accent
#30BC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFCB74

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

Preview Lab → · Contrast checker → · Palette generator →

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