#CFD339#CFD339

#CFD339 is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 83.8% C 0.167 H 111.0°. Best body text is #000000 at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#CFD339
RGBrgb(207, 211, 57)
HSLhsl(62, 64%, 53%)
HSVhsv(62, 73%, 83%)
CMYKcmyk(1.9%, 0%, 73%, 17.3%)
CIE-LABlab(81.92, -19.07, 70.70)
CIE-LCHlch(81.92, 73.23, 105.10°)
OKLaboklab(83.76% -0.0598 0.1557)
OKLCHoklch(83.76% 0.167 111)
XYZxyz(49.7666, 60.1507, 12.8588)
Luminance0.6015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD339 #3D39D3
analogous
#D38A39 #CFD339 #82D339
triadic
#CFD339 #39CFD3 #D339CF
tetradic
#CFD339 #39D38A #3D39D3 #D33982
square
#CFD339 #39D38A #3D39D3 #D33982
split-complementary
#CFD339 #3982D3 #8A39D3
monochromatic
#75771A #A6A926 #CFD339 #DBDE6B #E7E99D

Accessibility & contrast

On white

1.61
#CFD339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.03
#CFD339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD339
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD339#FFFFFF#000000##000000
##CFD3391.001.6113.0313.03
#FFFFFF1.611.0021.0021.00
#00000013.0321.001.001.00
##00000013.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CA18
Deuteranopia (green-blind)
#E5CE45
Tritanopia (blue-blind)
#DDC6B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cfd339;
/* rgb */ color: rgb(207, 211, 57);
/* oklch */ color: oklch(83.8% 0.167 111.0);
Tailwind
colors: {
  custom: {
    50: '#e1e07b',
    500: '#cfd339',
    950: '#000000',
  },
}
SCSS
$custom: #cfd339;
$custom-light: #e1e07b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd339",
  "rgb": {
    "r": 207,
    "g": 211,
    "b": 57
  },
  "hsl": {
    "h": 61.558,
    "s": 63.636,
    "l": 52.549
  },
  "oklch": {
    "l": 0.83759,
    "c": 0.16684,
    "h": 111
  },
  "luminance": 0.60149
}

Semantic roles & 50–950 ramp

primary
#CFD339
secondary
#33317F
accent
#41E745
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CFD339

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

Preview Lab → · Contrast checker → · Palette generator →

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