#CBE057#CBE057

#CBE057 is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 86.5% C 0.162 H 117.3°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#CBE057
RGBrgb(203, 224, 87)
HSLhsl(69, 69%, 61%)
HSVhsv(69, 61%, 88%)
CMYKcmyk(9.4%, 0%, 61.2%, 12.2%)
CIE-LABlab(85.35, -25.30, 62.79)
CIE-LCHlch(85.35, 67.70, 111.94°)
OKLaboklab(86.5% -0.0742 0.1438)
OKLCHoklch(86.5% 0.162 117.3)
XYZxyz(53.0055, 66.6965, 19.0964)
Luminance0.6670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBE057 #6C57E0
analogous
#E0B057 #CBE057 #86E057
triadic
#CBE057 #57CBE0 #E057CB
tetradic
#CBE057 #57E0B0 #6C57E0 #E05786
square
#CBE057 #57E0B0 #6C57E0 #E05786
split-complementary
#CBE057 #5786E0 #B057E0
monochromatic
#8B9F1D #B9D327 #CBE057 #DBEA8B #EBF3BE

Accessibility & contrast

On white

1.46
#CBE057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.34
#CBE057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBE057
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBE057#FFFFFF#000000##000000
##CBE0571.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED546
Deuteranopia (green-blind)
#ECD660
Tritanopia (blue-blind)
#D6D4C3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #cbe057;
/* rgb */ color: rgb(203, 224, 87);
/* oklch */ color: oklch(86.5% 0.162 117.3);
Tailwind
colors: {
  custom: {
    50: '#dee98c',
    500: '#cbe057',
    950: '#000000',
  },
}
SCSS
$custom: #cbe057;
$custom-light: #dee98c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbe057",
  "rgb": {
    "r": 203,
    "g": 224,
    "b": 87
  },
  "hsl": {
    "h": 69.197,
    "s": 68.844,
    "l": 60.98
  },
  "oklch": {
    "l": 0.865,
    "c": 0.16178,
    "h": 117.3
  },
  "luminance": 0.66696
}

Semantic roles & 50–950 ramp

primary
#CBE057
secondary
#4939A2
accent
#15D132
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #CBE057

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

Preview Lab → · Contrast checker → · Palette generator →

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