#CFD84C#CFD84C

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

Color values

HEX#CFD84C
RGBrgb(207, 216, 76)
HSLhsl(64, 64%, 57%)
HSVhsv(64, 65%, 85%)
CMYKcmyk(4.2%, 0%, 64.8%, 15.3%)
CIE-LABlab(83.39, -20.53, 65.26)
CIE-LCHlch(83.39, 68.41, 107.47°)
OKLaboklab(84.97% -0.0621 0.1474)
OKLCHoklch(84.97% 0.16 112.9)
XYZxyz(51.5939, 62.9000, 16.2591)
Luminance0.6290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD84C #554CD8
analogous
#D89B4C #CFD84C #89D84C
triadic
#CFD84C #4CCFD8 #D84CCF
tetradic
#CFD84C #4CD89B #554CD8 #D84C89
square
#CFD84C #4CD89B #554CD8 #D84C89
split-complementary
#CFD84C #4C89D8 #9B4CD8
monochromatic
#848B1E #B4BE29 #CFD84C #DCE37E #EAEEB1

Accessibility & contrast

On white

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

On black

13.58
#CFD84C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD84C
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD84C#FFFFFF#000000##000000
##CFD84C1.001.5513.5813.58
#FFFFFF1.551.0021.0021.00
#00000013.5821.001.001.00
##00000013.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE39
Deuteranopia (green-blind)
#E8D156
Tritanopia (blue-blind)
#DCCCBB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cfd84c;
/* rgb */ color: rgb(207, 216, 76);
/* oklch */ color: oklch(85.0% 0.160 112.9);
Tailwind
colors: {
  custom: {
    50: '#e1e385',
    500: '#cfd84c',
    950: '#000000',
  },
}
SCSS
$custom: #cfd84c;
$custom-light: #e1e385;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd84c",
  "rgb": {
    "r": 207,
    "g": 216,
    "b": 76
  },
  "hsl": {
    "h": 63.857,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.84974,
    "c": 0.15992,
    "h": 112.9
  },
  "luminance": 0.62899
}

Semantic roles & 50–950 ramp

primary
#CFD84C
secondary
#3D3791
accent
#41E74B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFD84C

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

Preview Lab → · Contrast checker → · Palette generator →

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