#CFD23F#CFD23F

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

Color values

HEX#CFD23F
RGBrgb(207, 210, 63)
HSLhsl(61, 62%, 54%)
HSVhsv(61, 70%, 82%)
CMYKcmyk(1.4%, 0%, 70%, 17.6%)
CIE-LABlab(81.69, -18.30, 68.42)
CIE-LCHlch(81.69, 70.82, 104.97°)
OKLaboklab(83.58% -0.0571 0.1519)
OKLCHoklch(83.58% 0.162 110.6)
XYZxyz(49.6776, 59.7188, 13.6117)
Luminance0.5972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD23F #423FD2
analogous
#D28B3F #CFD23F #86D23F
triadic
#CFD23F #3FCFD2 #D23FCF
tetradic
#CFD23F #3FD28B #423FD2 #D23F86
square
#CFD23F #3FD28B #423FD2 #D23F86
split-complementary
#CFD23F #3F86D2 #8B3FD2
monochromatic
#787A1D #A9AC28 #CFD23F #DBDE71 #E8E9A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFD23F#FFFFFF#000000##000000
##CFD23F1.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)
#E2C925
Deuteranopia (green-blind)
#E4CD4A
Tritanopia (blue-blind)
#DDC5B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfd23f;
/* rgb */ color: rgb(207, 210, 63);
/* oklch */ color: oklch(83.6% 0.162 110.6);
Tailwind
colors: {
  custom: {
    50: '#e1df7d',
    500: '#cfd23f',
    950: '#000000',
  },
}
SCSS
$custom: #cfd23f;
$custom-light: #e1df7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd23f",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 63
  },
  "hsl": {
    "h": 61.224,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.83583,
    "c": 0.16233,
    "h": 110.6
  },
  "luminance": 0.59717
}

Semantic roles & 50–950 ramp

primary
#CFD23F
secondary
#353382
accent
#43E546
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CFD23F

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

Preview Lab → · Contrast checker → · Palette generator →

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