#CFCA2D#CFCA2D

#CFCA2D is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.8% C 0.164 H 107.6°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#CFCA2D
RGBrgb(207, 202, 45)
HSLhsl(58, 64%, 49%)
HSVhsv(58, 78%, 81%)
CMYKcmyk(0%, 2.4%, 78.3%, 18.8%)
CIE-LABlab(79.44, -15.08, 72.15)
CIE-LCHlch(79.44, 73.71, 101.81°)
OKLaboklab(81.76% -0.0497 0.1567)
OKLCHoklch(81.76% 0.164 107.6)
XYZxyz(47.3283, 55.6976, 10.7398)
Luminance0.5570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA2D #2D32CF
analogous
#CF792D #CFCA2D #83CF2D
triadic
#CFCA2D #2DCFCA #CA2DCF
tetradic
#CFCA2D #2DCF79 #2D32CF #CF2D83
square
#CFCA2D #2DCF79 #2D32CF #CF2D83
split-complementary
#CFCA2D #2D83CF #792DCF
monochromatic
#6A6817 #9D9922 #CFCA2D #DCD85D #E7E490

Accessibility & contrast

On white

1.73
#CFCA2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.14
#CFCA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA2D
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA2D#FFFFFF#000000##000000
##CFCA2D1.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC200
Deuteranopia (green-blind)
#DEC73B
Tritanopia (blue-blind)
#DEBCAD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfca2d;
/* rgb */ color: rgb(207, 202, 45);
/* oklch */ color: oklch(81.8% 0.164 107.6);
Tailwind
colors: {
  custom: {
    50: '#e2d974',
    500: '#cfca2d',
    950: '#000000',
  },
}
SCSS
$custom: #cfca2d;
$custom-light: #e2d974;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca2d",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 45
  },
  "hsl": {
    "h": 58.148,
    "s": 64.286,
    "l": 49.412
  },
  "oklch": {
    "l": 0.81761,
    "c": 0.16436,
    "h": 107.6
  },
  "luminance": 0.55696
}

Semantic roles & 50–950 ramp

primary
#CFCA2D
secondary
#2C2E74
accent
#46E741
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CFCA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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