#CFD74A#CFD74A

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

Color values

HEX#CFD74A
RGBrgb(207, 215, 74)
HSLhsl(63, 64%, 57%)
HSVhsv(63, 66%, 84%)
CMYKcmyk(3.7%, 0%, 65.6%, 15.7%)
CIE-LABlab(83.11, -20.16, 65.74)
CIE-LCHlch(83.11, 68.77, 107.05°)
OKLaboklab(84.74% -0.0613 0.1481)
OKLCHoklch(84.74% 0.16 112.5)
XYZxyz(51.2701, 62.3618, 15.8135)
Luminance0.6236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD74A #524AD7
analogous
#D7994A #CFD74A #89D74A
triadic
#CFD74A #4ACFD7 #D74ACF
tetradic
#CFD74A #4AD799 #524AD7 #D74A89
square
#CFD74A #4AD799 #524AD7 #D74A89
split-complementary
#CFD74A #4A89D7 #994AD7
monochromatic
#82881E #B2BB29 #CFD74A #DCE27C #EAEDAE

Accessibility & contrast

On white

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

On black

13.47
#CFD74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD74A
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD74A#FFFFFF#000000##000000
##CFD74A1.001.5613.4713.47
#FFFFFF1.561.0021.0021.00
#00000013.4721.001.001.00
##00000013.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD36
Deuteranopia (green-blind)
#E7D154
Tritanopia (blue-blind)
#DCCABA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cfd74a;
/* rgb */ color: rgb(207, 215, 74);
/* oklch */ color: oklch(84.7% 0.160 112.5);
Tailwind
colors: {
  custom: {
    50: '#e1e384',
    500: '#cfd74a',
    950: '#000000',
  },
}
SCSS
$custom: #cfd74a;
$custom-light: #e1e384;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd74a",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 74
  },
  "hsl": {
    "h": 63.404,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.84742,
    "c": 0.16027,
    "h": 112.5
  },
  "luminance": 0.62361
}

Semantic roles & 50–950 ramp

primary
#CFD74A
secondary
#3C378F
accent
#41E74A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFD74A

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

Preview Lab → · Contrast checker → · Palette generator →

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