#CFD139#CFD139

#CFD139 is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.3% C 0.165 H 110.3°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#CFD139
RGBrgb(207, 209, 57)
HSLhsl(61, 62%, 52%)
HSVhsv(61, 73%, 82%)
CMYKcmyk(1%, 0%, 72.7%, 18%)
CIE-LABlab(81.38, -18.09, 70.19)
CIE-LCHlch(81.38, 72.49, 104.45°)
OKLaboklab(83.33% -0.0571 0.1547)
OKLCHoklch(83.33% 0.165 110.3)
XYZxyz(49.2728, 59.1631, 12.6942)
Luminance0.5916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD139 #3B39D1
analogous
#D18739 #CFD139 #83D139
triadic
#CFD139 #39CFD1 #D139CF
tetradic
#CFD139 #39D187 #3B39D1 #D13983
square
#CFD139 #39D187 #3B39D1 #D13983
split-complementary
#CFD139 #3983D1 #8739D1
monochromatic
#73751B #A5A627 #CFD139 #DBDD6B #E7E89C

Accessibility & contrast

On white

1.64
#CFD139 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.83
#CFD139 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD139
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD139#FFFFFF#000000##000000
##CFD1391.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C819
Deuteranopia (green-blind)
#E3CC45
Tritanopia (blue-blind)
#DEC4B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfd139;
/* rgb */ color: rgb(207, 209, 57);
/* oklch */ color: oklch(83.3% 0.165 110.3);
Tailwind
colors: {
  custom: {
    50: '#e1de7a',
    500: '#cfd139',
    950: '#000000',
  },
}
SCSS
$custom: #cfd139;
$custom-light: #e1de7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd139",
  "rgb": {
    "r": 207,
    "g": 209,
    "b": 57
  },
  "hsl": {
    "h": 60.789,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.83329,
    "c": 0.16486,
    "h": 110.3
  },
  "luminance": 0.59162
}

Semantic roles & 50–950 ramp

primary
#CFD139
secondary
#32317D
accent
#42E545
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CFD139

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

Preview Lab → · Contrast checker → · Palette generator →

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