#CFDA5B#CFDA5B

#CFDA5B is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.5% C 0.150 H 113.7°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#CFDA5B
RGBrgb(207, 218, 91)
HSLhsl(65, 63%, 61%)
HSVhsv(65, 58%, 85%)
CMYKcmyk(5%, 0%, 58.3%, 14.5%)
CIE-LABlab(84.05, -20.51, 59.76)
CIE-LCHlch(84.05, 63.18, 108.94°)
OKLaboklab(85.54% -0.0606 0.1378)
OKLCHoklch(85.54% 0.15 113.7)
XYZxyz(52.6930, 64.1645, 19.5047)
Luminance0.6416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDA5B #665BDA
analogous
#DAA55B #CFDA5B #8FDA5B
triadic
#CFDA5B #5BCFDA #DA5BCF
tetradic
#CFDA5B #5BDAA5 #665BDA #DA5B8F
square
#CFDA5B #5BDAA5 #665BDA #DA5B8F
split-complementary
#CFDA5B #5B8FDA #A55BDA
monochromatic
#8E9822 #BDCA2E #CFDA5B #DEE58D #ECF1BF

Accessibility & contrast

On white

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

On black

13.83
#CFDA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDA5B
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDA5B#FFFFFF#000000##000000
##CFDA5B1.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D04D
Deuteranopia (green-blind)
#E8D363
Tritanopia (blue-blind)
#DBCEBF
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #cfda5b;
/* rgb */ color: rgb(207, 218, 91);
/* oklch */ color: oklch(85.5% 0.150 113.7);
Tailwind
colors: {
  custom: {
    50: '#e0e58e',
    500: '#cfda5b',
    950: '#000000',
  },
}
SCSS
$custom: #cfda5b;
$custom-light: #e0e58e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfda5b",
  "rgb": {
    "r": 207,
    "g": 218,
    "b": 91
  },
  "hsl": {
    "h": 65.197,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.85542,
    "c": 0.15048,
    "h": 113.7
  },
  "luminance": 0.64164
}

Semantic roles & 50–950 ramp

primary
#CFDA5B
secondary
#453D9D
accent
#1BCB2A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #CFDA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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