#CFD442#CFD442

#CFD442 is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.0% C 0.162 H 111.4°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#CFD442
RGBrgb(207, 212, 66)
HSLhsl(62, 63%, 55%)
HSVhsv(62, 69%, 83%)
CMYKcmyk(2.4%, 0%, 68.9%, 16.9%)
CIE-LABlab(82.24, -19.13, 67.89)
CIE-LCHlch(82.24, 70.53, 105.74°)
OKLaboklab(84.03% -0.0592 0.1513)
OKLCHoklch(84.03% 0.162 111.4)
XYZxyz(50.2606, 60.7470, 14.2309)
Luminance0.6075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD442 #4742D4
analogous
#D49042 #CFD442 #86D442
triadic
#CFD442 #42CFD4 #D442CF
tetradic
#CFD442 #42D490 #4742D4 #D44286
square
#CFD442 #42D490 #4742D4 #D44286
split-complementary
#CFD442 #4286D4 #9042D4
monochromatic
#7B7F1D #ACB128 #CFD442 #DCDF74 #E8EBA6

Accessibility & contrast

On white

1.60
#CFD442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.15
#CFD442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD442
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD442#FFFFFF#000000##000000
##CFD4421.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB2A
Deuteranopia (green-blind)
#E5CE4D
Tritanopia (blue-blind)
#DDC7B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cfd442;
/* rgb */ color: rgb(207, 212, 66);
/* oklch */ color: oklch(84.0% 0.162 111.4);
Tailwind
colors: {
  custom: {
    50: '#e1e17f',
    500: '#cfd442',
    950: '#000000',
  },
}
SCSS
$custom: #cfd442;
$custom-light: #e1e17f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd442",
  "rgb": {
    "r": 207,
    "g": 212,
    "b": 66
  },
  "hsl": {
    "h": 62.055,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.84034,
    "c": 0.16248,
    "h": 111.4
  },
  "luminance": 0.60746
}

Semantic roles & 50–950 ramp

primary
#CFD442
secondary
#373486
accent
#42E647
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFD442

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

Preview Lab → · Contrast checker → · Palette generator →

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