#CFCA4B#CFCA4B

#CFCA4B is a light, vivid yellow. Relative luminance 0.560; OKLCH L 82.0% C 0.146 H 107.1°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#CFCA4B
RGBrgb(207, 202, 75)
HSLhsl(58, 58%, 55%)
HSVhsv(58, 64%, 81%)
CMYKcmyk(0%, 2.4%, 63.8%, 18.8%)
CIE-LABlab(79.62, -13.65, 61.73)
CIE-LCHlch(79.62, 63.22, 102.47°)
OKLaboklab(81.96% -0.0429 0.1398)
OKLCHoklch(81.96% 0.146 107.1)
XYZxyz(48.1243, 56.0160, 14.9324)
Luminance0.5601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA4B #4B50CF
analogous
#CF884B #CFCA4B #92CF4B
triadic
#CFCA4B #4BCFCA #CA4BCF
tetradic
#CFCA4B #4BCF88 #4B50CF #CF4B92
square
#CFCA4B #4BCF88 #4B50CF #CF4B92
split-complementary
#CFCA4B #4B92CF #884BCF
monochromatic
#7E7A22 #AEA92E #CFCA4B #DCD87B #E9E6AC

Accessibility & contrast

On white

1.72
#CFCA4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.20
#CFCA4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA4B
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA4B#FFFFFF#000000##000000
##CFCA4B1.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC33B
Deuteranopia (green-blind)
#DDC853
Tritanopia (blue-blind)
#DDBDB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfca4b;
/* rgb */ color: rgb(207, 202, 75);
/* oklch */ color: oklch(82.0% 0.146 107.1);
Tailwind
colors: {
  custom: {
    50: '#e1d983',
    500: '#cfca4b',
    950: '#000000',
  },
}
SCSS
$custom: #cfca4b;
$custom-light: #e1d983;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca4b",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 75
  },
  "hsl": {
    "h": 57.727,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81963,
    "c": 0.14619,
    "h": 107.1
  },
  "luminance": 0.56014
}

Semantic roles & 50–950 ramp

primary
#CFCA4B
secondary
#393B86
accent
#4DE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFCA4B

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

Preview Lab → · Contrast checker → · Palette generator →

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