#CBE04F#CBE04F

#CBE04F is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 86.4% C 0.168 H 117.1°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#CBE04F
RGBrgb(203, 224, 79)
HSLhsl(69, 70%, 59%)
HSVhsv(69, 65%, 88%)
CMYKcmyk(9.4%, 0%, 64.7%, 12.2%)
CIE-LABlab(85.29, -25.83, 65.96)
CIE-LCHlch(85.29, 70.83, 111.39°)
OKLaboklab(86.43% -0.0764 0.1494)
OKLCHoklch(86.43% 0.168 117.1)
XYZxyz(52.6966, 66.5729, 17.4694)
Luminance0.6657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBE04F #644FE0
analogous
#E0AD4F #CBE04F #82E04F
triadic
#CBE04F #4FCBE0 #E04FCB
tetradic
#CBE04F #4FE0AD #644FE0 #E04F82
square
#CBE04F #4FE0AD #644FE0 #E04F82
split-complementary
#CBE04F #4F82E0 #AD4FE0
monochromatic
#879A1B #B5CE24 #CBE04F #DAE983 #EAF2B7

Accessibility & contrast

On white

1.47
#CBE04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.31
#CBE04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBE04F
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBE04F#FFFFFF#000000##000000
##CBE04F1.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD53B
Deuteranopia (green-blind)
#EDD659
Tritanopia (blue-blind)
#D7D4C2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #cbe04f;
/* rgb */ color: rgb(203, 224, 79);
/* oklch */ color: oklch(86.4% 0.168 117.1);
Tailwind
colors: {
  custom: {
    50: '#dee987',
    500: '#cbe04f',
    950: '#000000',
  },
}
SCSS
$custom: #cbe04f;
$custom-light: #dee987;
$custom-dark: #000000;
JSON
{
  "hex": "#cbe04f",
  "rgb": {
    "r": 203,
    "g": 224,
    "b": 79
  },
  "hsl": {
    "h": 68.69,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.86429,
    "c": 0.16778,
    "h": 117.1
  },
  "luminance": 0.66572
}

Semantic roles & 50–950 ramp

primary
#CBE04F
secondary
#45369D
accent
#3BED55
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #CBE04F

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

Preview Lab → · Contrast checker → · Palette generator →

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