#CFD74E#CFD74E

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

Color values

HEX#CFD74E
RGBrgb(207, 215, 78)
HSLhsl(64, 63%, 57%)
HSVhsv(64, 64%, 84%)
CMYKcmyk(3.7%, 0%, 63.7%, 15.7%)
CIE-LABlab(83.13, -19.92, 64.20)
CIE-LCHlch(83.13, 67.22, 107.24°)
OKLaboklab(84.78% -0.0602 0.1454)
OKLCHoklch(84.78% 0.157 112.5)
XYZxyz(51.4091, 62.4174, 16.5459)
Luminance0.6242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD74E #564ED7
analogous
#D79B4E #CFD74E #8AD74E
triadic
#CFD74E #4ECFD7 #D74ECF
tetradic
#CFD74E #4ED79B #564ED7 #D74E8A
square
#CFD74E #4ED79B #564ED7 #D74E8A
split-complementary
#CFD74E #4E8AD7 #9B4ED7
monochromatic
#858B1F #B5BD2B #CFD74E #DDE280 #EAEEB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFD74E#FFFFFF#000000##000000
##CFD74E1.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)
#E6CD3C
Deuteranopia (green-blind)
#E7D157
Tritanopia (blue-blind)
#DCCBBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cfd74e;
/* rgb */ color: rgb(207, 215, 78);
/* oklch */ color: oklch(84.8% 0.157 112.5);
Tailwind
colors: {
  custom: {
    50: '#e1e386',
    500: '#cfd74e',
    950: '#000000',
  },
}
SCSS
$custom: #cfd74e;
$custom-light: #e1e386;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd74e",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 78
  },
  "hsl": {
    "h": 63.504,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.84775,
    "c": 0.15739,
    "h": 112.5
  },
  "luminance": 0.62416
}

Semantic roles & 50–950 ramp

primary
#CFD74E
secondary
#3D3891
accent
#42E64B
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD74E

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

Preview Lab → · Contrast checker → · Palette generator →

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