#CFD142#CFD142

#CFD142 is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.4% C 0.159 H 110.2°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#CFD142
RGBrgb(207, 209, 66)
HSLhsl(61, 61%, 54%)
HSVhsv(61, 68%, 82%)
CMYKcmyk(1%, 0%, 68.4%, 18%)
CIE-LABlab(81.43, -17.65, 67.09)
CIE-LCHlch(81.43, 69.37, 104.74°)
OKLaboklab(83.39% -0.055 0.1496)
OKLCHoklch(83.39% 0.159 110.2)
XYZxyz(49.5176, 59.2610, 13.9833)
Luminance0.5926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD142 #4442D1
analogous
#D18C42 #CFD142 #88D142
triadic
#CFD142 #42CFD1 #D142CF
tetradic
#CFD142 #42D18C #4442D1 #D14288
square
#CFD142 #42D18C #4442D1 #D14288
split-complementary
#CFD142 #4288D1 #8C42D1
monochromatic
#797B1E #AAAC2A #CFD142 #DCDD73 #E8E9A4

Accessibility & contrast

On white

1.63
#CFD142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.85
#CFD142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD142
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD142#FFFFFF#000000##000000
##CFD1421.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C82B
Deuteranopia (green-blind)
#E3CC4C
Tritanopia (blue-blind)
#DDC4B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfd142;
/* rgb */ color: rgb(207, 209, 66);
/* oklch */ color: oklch(83.4% 0.159 110.2);
Tailwind
colors: {
  custom: {
    50: '#e1de7f',
    500: '#cfd142',
    950: '#000000',
  },
}
SCSS
$custom: #cfd142;
$custom-light: #e1de7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd142",
  "rgb": {
    "r": 207,
    "g": 209,
    "b": 66
  },
  "hsl": {
    "h": 60.839,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.83389,
    "c": 0.15944,
    "h": 110.2
  },
  "luminance": 0.5926
}

Semantic roles & 50–950 ramp

primary
#CFD142
secondary
#363583
accent
#44E446
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFD142

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

Preview Lab → · Contrast checker → · Palette generator →

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