#CFD140#CFD140

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

Color values

HEX#CFD140
RGBrgb(207, 209, 64)
HSLhsl(61, 61%, 54%)
HSVhsv(61, 69%, 82%)
CMYKcmyk(1%, 0%, 69.4%, 18%)
CIE-LABlab(81.42, -17.76, 67.80)
CIE-LCHlch(81.42, 70.09, 104.67°)
OKLaboklab(83.37% -0.0555 0.1508)
OKLCHoklch(83.37% 0.161 110.2)
XYZxyz(49.4597, 59.2379, 13.6782)
Luminance0.5924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD140 #4240D1
analogous
#D18A40 #CFD140 #86D140
triadic
#CFD140 #40CFD1 #D140CF
tetradic
#CFD140 #40D18A #4240D1 #D14086
square
#CFD140 #40D18A #4240D1 #D14086
split-complementary
#CFD140 #4086D1 #8A40D1
monochromatic
#78791D #A9AB29 #CFD140 #DBDD71 #E8E9A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFD140#FFFFFF#000000##000000
##CFD1401.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)
#E1C828
Deuteranopia (green-blind)
#E3CC4B
Tritanopia (blue-blind)
#DDC4B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfd140;
/* rgb */ color: rgb(207, 209, 64);
/* oklch */ color: oklch(83.4% 0.161 110.2);
Tailwind
colors: {
  custom: {
    50: '#e1de7e',
    500: '#cfd140',
    950: '#000000',
  },
}
SCSS
$custom: #cfd140;
$custom-light: #e1de7e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd140",
  "rgb": {
    "r": 207,
    "g": 209,
    "b": 64
  },
  "hsl": {
    "h": 60.828,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.83374,
    "c": 0.16071,
    "h": 110.2
  },
  "luminance": 0.59236
}

Semantic roles & 50–950 ramp

primary
#CFD140
secondary
#353481
accent
#44E446
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CFD140

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

Preview Lab → · Contrast checker → · Palette generator →

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