#CFCB4A#CFCB4A

#CFCB4A is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.2% C 0.148 H 107.5°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#CFCB4A
RGBrgb(207, 203, 74)
HSLhsl(58, 58%, 55%)
HSVhsv(58, 64%, 81%)
CMYKcmyk(0%, 1.9%, 64.3%, 18.8%)
CIE-LABlab(79.88, -14.22, 62.41)
CIE-LCHlch(79.88, 64.01, 102.83°)
OKLaboklab(82.17% -0.0446 0.141)
OKLCHoklch(82.17% 0.148 107.5)
XYZxyz(48.3258, 56.4732, 14.8320)
Luminance0.5647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCB4A #4A4ECF
analogous
#CF884A #CFCB4A #91CF4A
triadic
#CFCB4A #4ACFCB #CB4ACF
tetradic
#CFCB4A #4ACF88 #4A4ECF #CF4A91
square
#CFCB4A #4ACF88 #4A4ECF #CF4A91
split-complementary
#CFCB4A #4A91CF #884ACF
monochromatic
#7D7B21 #AEAA2E #CFCB4A #DCD97A #E9E7AB

Accessibility & contrast

On white

1.71
#CFCB4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.29
#CFCB4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCB4A
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCB4A#FFFFFF#000000##000000
##CFCB4A1.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC339
Deuteranopia (green-blind)
#DEC852
Tritanopia (blue-blind)
#DDBEB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfcb4a;
/* rgb */ color: rgb(207, 203, 74);
/* oklch */ color: oklch(82.2% 0.148 107.5);
Tailwind
colors: {
  custom: {
    50: '#e1da83',
    500: '#cfcb4a',
    950: '#000000',
  },
}
SCSS
$custom: #cfcb4a;
$custom-light: #e1da83;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcb4a",
  "rgb": {
    "r": 207,
    "g": 203,
    "b": 74
  },
  "hsl": {
    "h": 58.195,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.82168,
    "c": 0.14791,
    "h": 107.5
  },
  "luminance": 0.56472
}

Semantic roles & 50–950 ramp

primary
#CFCB4A
secondary
#383A85
accent
#4BE146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFCB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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