#CFDA4F#CFDA4F

#CFDA4F is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.4% C 0.160 H 113.6°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#CFDA4F
RGBrgb(207, 218, 79)
HSLhsl(65, 65%, 58%)
HSVhsv(65, 64%, 85%)
CMYKcmyk(5%, 0%, 63.8%, 14.5%)
CIE-LABlab(83.95, -21.32, 64.65)
CIE-LCHlch(83.95, 68.08, 108.25°)
OKLaboklab(85.43% -0.0641 0.1465)
OKLCHoklch(85.43% 0.16 113.6)
XYZxyz(52.2162, 63.9737, 16.9931)
Luminance0.6397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDA4F #5A4FDA
analogous
#DA9F4F #CFDA4F #89DA4F
triadic
#CFDA4F #4FCFDA #DA4FCF
tetradic
#CFDA4F #4FDA9F #5A4FDA #DA4F89
square
#CFDA4F #4FDA9F #5A4FDA #DA4F89
split-complementary
#CFDA4F #4F89DA #9F4FDA
monochromatic
#87901E #B7C329 #CFDA4F #DDE582 #EBEFB4

Accessibility & contrast

On white

1.52
#CFDA4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.79
#CFDA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDA4F
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDA4F#FFFFFF#000000##000000
##CFDA4F1.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D03D
Deuteranopia (green-blind)
#E9D358
Tritanopia (blue-blind)
#DCCEBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfda4f;
/* rgb */ color: rgb(207, 218, 79);
/* oklch */ color: oklch(85.4% 0.160 113.6);
Tailwind
colors: {
  custom: {
    50: '#e1e587',
    500: '#cfda4f',
    950: '#000000',
  },
}
SCSS
$custom: #cfda4f;
$custom-light: #e1e587;
$custom-dark: #000000;
JSON
{
  "hex": "#cfda4f",
  "rgb": {
    "r": 207,
    "g": 218,
    "b": 79
  },
  "hsl": {
    "h": 64.748,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.85431,
    "c": 0.15991,
    "h": 113.6
  },
  "luminance": 0.63973
}

Semantic roles & 50–950 ramp

primary
#CFDA4F
secondary
#3F3895
accent
#40E84D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFDA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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