#CFD23C#CFD23C

#CFD23C 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#CFD23C
RGBrgb(207, 210, 60)
HSLhsl(61, 63%, 53%)
HSVhsv(61, 71%, 82%)
CMYKcmyk(1.4%, 0%, 71.4%, 17.6%)
CIE-LABlab(81.67, -18.44, 69.45)
CIE-LCHlch(81.67, 71.86, 104.87°)
OKLaboklab(83.56% -0.0578 0.1536)
OKLCHoklch(83.56% 0.164 110.6)
XYZxyz(49.5960, 59.6862, 13.1821)
Luminance0.5968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD23C #3F3CD2
analogous
#D28A3C #CFD23C #84D23C
triadic
#CFD23C #3CCFD2 #D23CCF
tetradic
#CFD23C #3CD28A #3F3CD2 #D23C84
square
#CFD23C #3CD28A #3F3CD2 #D23C84
split-complementary
#CFD23C #3C84D2 #8A3CD2
monochromatic
#76781C #A7AA27 #CFD23C #DBDD6E #E7E99F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFD23C#FFFFFF#000000##000000
##CFD23C1.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)
#E2C920
Deuteranopia (green-blind)
#E4CD48
Tritanopia (blue-blind)
#DDC5B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfd23c;
/* rgb */ color: rgb(207, 210, 60);
/* oklch */ color: oklch(83.6% 0.164 110.6);
Tailwind
colors: {
  custom: {
    50: '#e1df7c',
    500: '#cfd23c',
    950: '#000000',
  },
}
SCSS
$custom: #cfd23c;
$custom-light: #e1df7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd23c",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 60
  },
  "hsl": {
    "h": 61.2,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.83563,
    "c": 0.16414,
    "h": 110.6
  },
  "luminance": 0.59685
}

Semantic roles & 50–950 ramp

primary
#CFD23C
secondary
#343280
accent
#42E646
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CFD23C

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

Preview Lab → · Contrast checker → · Palette generator →

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