#CFD23A#CFD23A

#CFD23A is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.5% C 0.165 H 110.6°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#CFD23A
RGBrgb(207, 210, 58)
HSLhsl(61, 63%, 53%)
HSVhsv(61, 72%, 82%)
CMYKcmyk(1.4%, 0%, 72.4%, 17.6%)
CIE-LABlab(81.66, -18.53, 70.12)
CIE-LCHlch(81.66, 72.53, 104.81°)
OKLaboklab(83.55% -0.0583 0.1547)
OKLCHoklch(83.55% 0.165 110.6)
XYZxyz(49.5442, 59.6654, 12.9089)
Luminance0.5966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD23A #3D3AD2
analogous
#D2893A #CFD23A #83D23A
triadic
#CFD23A #3ACFD2 #D23ACF
tetradic
#CFD23A #3AD289 #3D3AD2 #D23A83
square
#CFD23A #3AD289 #3D3AD2 #D23A83
split-complementary
#CFD23A #3A83D2 #893AD2
monochromatic
#75771B #A6A826 #CFD23A #DBDD6C #E7E99E

Accessibility & contrast

On white

1.62
#CFD23A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.93
#CFD23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD23A
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD23A#FFFFFF#000000##000000
##CFD23A1.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C91B
Deuteranopia (green-blind)
#E4CD46
Tritanopia (blue-blind)
#DDC5B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfd23a;
/* rgb */ color: rgb(207, 210, 58);
/* oklch */ color: oklch(83.5% 0.165 110.6);
Tailwind
colors: {
  custom: {
    50: '#e1df7b',
    500: '#cfd23a',
    950: '#000000',
  },
}
SCSS
$custom: #cfd23a;
$custom-light: #e1df7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd23a",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 58
  },
  "hsl": {
    "h": 61.184,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.8355,
    "c": 0.16529,
    "h": 110.6
  },
  "luminance": 0.59664
}

Semantic roles & 50–950 ramp

primary
#CFD23A
secondary
#33317F
accent
#42E645
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CFD23A

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

Preview Lab → · Contrast checker → · Palette generator →

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