#CFD23B#CFD23B

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

Color values

HEX#CFD23B
RGBrgb(207, 210, 59)
HSLhsl(61, 63%, 53%)
HSVhsv(61, 72%, 82%)
CMYKcmyk(1.4%, 0%, 71.9%, 17.6%)
CIE-LABlab(81.66, -18.49, 69.79)
CIE-LCHlch(81.66, 72.20, 104.84°)
OKLaboklab(83.56% -0.058 0.1542)
OKLCHoklch(83.56% 0.165 110.6)
XYZxyz(49.5698, 59.6757, 13.0442)
Luminance0.5967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD23B #3E3BD2
analogous
#D2893B #CFD23B #83D23B
triadic
#CFD23B #3BCFD2 #D23BCF
tetradic
#CFD23B #3BD289 #3E3BD2 #D23B83
square
#CFD23B #3BD289 #3E3BD2 #D23B83
split-complementary
#CFD23B #3B83D2 #893BD2
monochromatic
#75771B #A6A927 #CFD23B #DBDD6D #E7E99F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFD23B#FFFFFF#000000##000000
##CFD23B1.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)
#E3C91D
Deuteranopia (green-blind)
#E4CD47
Tritanopia (blue-blind)
#DDC5B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfd23b;
/* rgb */ color: rgb(207, 210, 59);
/* oklch */ color: oklch(83.6% 0.165 110.6);
Tailwind
colors: {
  custom: {
    50: '#e1df7b',
    500: '#cfd23b',
    950: '#000000',
  },
}
SCSS
$custom: #cfd23b;
$custom-light: #e1df7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd23b",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 59
  },
  "hsl": {
    "h": 61.192,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.83556,
    "c": 0.16472,
    "h": 110.6
  },
  "luminance": 0.59674
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFD23B

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

Preview Lab → · Contrast checker → · Palette generator →

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