#CFD74C#CFD74C

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

Color values

HEX#CFD74C
RGBrgb(207, 215, 76)
HSLhsl(63, 63%, 57%)
HSVhsv(63, 65%, 84%)
CMYKcmyk(3.7%, 0%, 64.7%, 15.7%)
CIE-LABlab(83.12, -20.04, 64.98)
CIE-LCHlch(83.12, 68.00, 107.14°)
OKLaboklab(84.76% -0.0608 0.1468)
OKLCHoklch(84.76% 0.159 112.5)
XYZxyz(51.3385, 62.3892, 16.1740)
Luminance0.6239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD74C #544CD7
analogous
#D7994C #CFD74C #8AD74C
triadic
#CFD74C #4CCFD7 #D74CCF
tetradic
#CFD74C #4CD799 #544CD7 #D74C8A
square
#CFD74C #4CD799 #544CD7 #D74C8A
split-complementary
#CFD74C #4C8AD7 #994CD7
monochromatic
#848A1F #B3BC2A #CFD74C #DCE27E #EAEDB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFD74C#FFFFFF#000000##000000
##CFD74C1.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)
#E7CD39
Deuteranopia (green-blind)
#E7D155
Tritanopia (blue-blind)
#DCCBBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cfd74c;
/* rgb */ color: rgb(207, 215, 76);
/* oklch */ color: oklch(84.8% 0.159 112.5);
Tailwind
colors: {
  custom: {
    50: '#e1e385',
    500: '#cfd74c',
    950: '#000000',
  },
}
SCSS
$custom: #cfd74c;
$custom-light: #e1e385;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd74c",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 76
  },
  "hsl": {
    "h": 63.453,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.84758,
    "c": 0.15884,
    "h": 112.5
  },
  "luminance": 0.62388
}

Semantic roles & 50–950 ramp

primary
#CFD74C
secondary
#3C3790
accent
#41E64B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFD74C

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

Preview Lab → · Contrast checker → · Palette generator →

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