#CFCA4A#CFCA4A

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

Color values

HEX#CFCA4A
RGBrgb(207, 202, 74)
HSLhsl(58, 58%, 55%)
HSVhsv(58, 64%, 81%)
CMYKcmyk(0%, 2.4%, 64.3%, 18.8%)
CIE-LABlab(79.62, -13.71, 62.13)
CIE-LCHlch(79.62, 63.62, 102.45°)
OKLaboklab(81.96% -0.0431 0.1405)
OKLCHoklch(81.96% 0.147 107.1)
XYZxyz(48.0904, 56.0024, 14.7536)
Luminance0.5600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA4A #4A4FCF
analogous
#CF874A #CFCA4A #92CF4A
triadic
#CFCA4A #4ACFCA #CA4ACF
tetradic
#CFCA4A #4ACF87 #4A4FCF #CF4A92
square
#CFCA4A #4ACF87 #4A4FCF #CF4A92
split-complementary
#CFCA4A #4A92CF #874ACF
monochromatic
#7D7A21 #AEA92E #CFCA4A #DCD87A #E9E6AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCA4A#FFFFFF#000000##000000
##CFCA4A1.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)
#DAC339
Deuteranopia (green-blind)
#DDC852
Tritanopia (blue-blind)
#DDBDB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfca4a;
/* rgb */ color: rgb(207, 202, 74);
/* oklch */ color: oklch(82.0% 0.147 107.1);
Tailwind
colors: {
  custom: {
    50: '#e1d983',
    500: '#cfca4a',
    950: '#000000',
  },
}
SCSS
$custom: #cfca4a;
$custom-light: #e1d983;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca4a",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 74
  },
  "hsl": {
    "h": 57.744,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81955,
    "c": 0.14693,
    "h": 107.1
  },
  "luminance": 0.56001
}

Semantic roles & 50–950 ramp

primary
#CFCA4A
secondary
#383B85
accent
#4CE146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFCA4A

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

Preview Lab → · Contrast checker → · Palette generator →

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