#CFD23D#CFD23D

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

Color values

HEX#CFD23D
RGBrgb(207, 210, 61)
HSLhsl(61, 62%, 53%)
HSVhsv(61, 71%, 82%)
CMYKcmyk(1.4%, 0%, 71%, 17.6%)
CIE-LABlab(81.67, -18.40, 69.11)
CIE-LCHlch(81.67, 71.52, 104.90°)
OKLaboklab(83.57% -0.0576 0.1531)
OKLCHoklch(83.57% 0.164 110.6)
XYZxyz(49.6227, 59.6969, 13.3226)
Luminance0.5970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD23D #403DD2
analogous
#D28A3D #CFD23D #84D23D
triadic
#CFD23D #3DCFD2 #D23DCF
tetradic
#CFD23D #3DD28A #403DD2 #D23D84
square
#CFD23D #3DD28A #403DD2 #D23D84
split-complementary
#CFD23D #3D84D2 #8A3DD2
monochromatic
#77791C #A8AA28 #CFD23D #DBDE6F #E8E9A0

Accessibility & contrast

On white

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

On black

12.94
#CFD23D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD23D
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD23D#FFFFFF#000000##000000
##CFD23D1.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfd23d;
/* rgb */ color: rgb(207, 210, 61);
/* oklch */ color: oklch(83.6% 0.164 110.6);
Tailwind
colors: {
  custom: {
    50: '#e1df7c',
    500: '#cfd23d',
    950: '#000000',
  },
}
SCSS
$custom: #cfd23d;
$custom-light: #e1df7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd23d",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 61
  },
  "hsl": {
    "h": 61.208,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.83569,
    "c": 0.16354,
    "h": 110.6
  },
  "luminance": 0.59696
}

Semantic roles & 50–950 ramp

primary
#CFD23D
secondary
#343281
accent
#42E546
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CFD23D

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

Preview Lab → · Contrast checker → · Palette generator →

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