#CFD74D#CFD74D

#CFD74D is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 84.8% C 0.158 H 112.5°. Best body text is #000000 at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#CFD74D
RGBrgb(207, 215, 77)
HSLhsl(63, 63%, 57%)
HSVhsv(63, 64%, 84%)
CMYKcmyk(3.7%, 0%, 64.2%, 15.7%)
CIE-LABlab(83.13, -19.98, 64.59)
CIE-LCHlch(83.13, 67.61, 107.19°)
OKLaboklab(84.77% -0.0605 0.1461)
OKLCHoklch(84.77% 0.158 112.5)
XYZxyz(51.3736, 62.4032, 16.3585)
Luminance0.6240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD74D #554DD7
analogous
#D79A4D #CFD74D #8AD74D
triadic
#CFD74D #4DCFD7 #D74DCF
tetradic
#CFD74D #4DD79A #554DD7 #D74D8A
square
#CFD74D #4DD79A #554DD7 #D74D8A
split-complementary
#CFD74D #4D8AD7 #9A4DD7
monochromatic
#848A1F #B4BC2A #CFD74D #DCE27F #EAEDB1

Accessibility & contrast

On white

1.56
#CFD74D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.48
#CFD74D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD74D
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD74D#FFFFFF#000000##000000
##CFD74D1.001.5613.4813.48
#FFFFFF1.561.0021.0021.00
#00000013.4821.001.001.00
##00000013.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD3A
Deuteranopia (green-blind)
#E7D156
Tritanopia (blue-blind)
#DCCBBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cfd74d;
/* rgb */ color: rgb(207, 215, 77);
/* oklch */ color: oklch(84.8% 0.158 112.5);
Tailwind
colors: {
  custom: {
    50: '#e1e386',
    500: '#cfd74d',
    950: '#000000',
  },
}
SCSS
$custom: #cfd74d;
$custom-light: #e1e386;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd74d",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 77
  },
  "hsl": {
    "h": 63.478,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.84766,
    "c": 0.15812,
    "h": 112.5
  },
  "luminance": 0.62402
}

Semantic roles & 50–950 ramp

primary
#CFD74D
secondary
#3D3890
accent
#41E64B
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD74D

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

Preview Lab → · Contrast checker → · Palette generator →

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