#CFD84F#CFD84F

#CFD84F is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.0% C 0.158 H 112.9°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#CFD84F
RGBrgb(207, 216, 79)
HSLhsl(64, 64%, 58%)
HSVhsv(64, 63%, 85%)
CMYKcmyk(4.2%, 0%, 63.4%, 15.3%)
CIE-LABlab(83.41, -20.35, 64.08)
CIE-LCHlch(83.41, 67.24, 107.62°)
OKLaboklab(85% -0.0613 0.1453)
OKLCHoklch(85% 0.158 112.9)
XYZxyz(51.7007, 62.9427, 16.8213)
Luminance0.6294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD84F #584FD8
analogous
#D89D4F #CFD84F #8AD84F
triadic
#CFD84F #4FCFD8 #D84FCF
tetradic
#CFD84F #4FD89D #584FD8 #D84F8A
square
#CFD84F #4FD89D #584FD8 #D84F8A
split-complementary
#CFD84F #4F8AD8 #9D4FD8
monochromatic
#868D1F #B6BF2A #CFD84F #DDE381 #EAEEB3

Accessibility & contrast

On white

1.55
#CFD84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.59
#CFD84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD84F
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD84F#FFFFFF#000000##000000
##CFD84F1.001.5513.5913.59
#FFFFFF1.551.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE3D
Deuteranopia (green-blind)
#E7D158
Tritanopia (blue-blind)
#DCCCBC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cfd84f;
/* rgb */ color: rgb(207, 216, 79);
/* oklch */ color: oklch(85.0% 0.158 112.9);
Tailwind
colors: {
  custom: {
    50: '#e1e387',
    500: '#cfd84f',
    950: '#000000',
  },
}
SCSS
$custom: #cfd84f;
$custom-light: #e1e387;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd84f",
  "rgb": {
    "r": 207,
    "g": 216,
    "b": 79
  },
  "hsl": {
    "h": 63.942,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.84999,
    "c": 0.15773,
    "h": 112.9
  },
  "luminance": 0.62942
}

Semantic roles & 50–950 ramp

primary
#CFD84F
secondary
#3E3893
accent
#41E74C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD84F

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

Preview Lab → · Contrast checker → · Palette generator →

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