#CBE74C#CBE74C

#CBE74C is a very light, vivid yellow-green. Relative luminance 0.704; OKLCH L 87.9% C 0.178 H 119.1°. Best body text is #000000 at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#CBE74C
RGBrgb(203, 231, 76)
HSLhsl(71, 76%, 60%)
HSVhsv(71, 67%, 91%)
CMYKcmyk(12.1%, 0%, 67.1%, 9.4%)
CIE-LABlab(87.18, -29.32, 69.06)
CIE-LCHlch(87.18, 75.02, 113.00°)
OKLaboklab(87.94% -0.0864 0.1555)
OKLCHoklch(87.94% 0.178 119.1)
XYZxyz(54.5100, 70.3705, 17.5473)
Luminance0.7037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBE74C #684CE7
analogous
#E7B64C #CBE74C #7DE74C
triadic
#CBE74C #4CCBE7 #E74CCB
tetradic
#CBE74C #4CE7B6 #684CE7 #E74C7D
square
#CBE74C #4CE7B6 #684CE7 #E74C7D
split-complementary
#CBE74C #4C7DE7 #B64CE7
monochromatic
#89A316 #B7D91D #CBE74C #DBEE82 #EAF5B8

Accessibility & contrast

On white

1.39
#CBE74C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.07
#CBE74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBE74C
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBE74C#FFFFFF#000000##000000
##CBE74C1.001.3915.0715.07
#FFFFFF1.391.0021.0021.00
#00000015.0721.001.001.00
##00000015.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DA35
Deuteranopia (green-blind)
#F2DB58
Tritanopia (blue-blind)
#D6DBC8
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #cbe74c;
/* rgb */ color: rgb(203, 231, 76);
/* oklch */ color: oklch(87.9% 0.178 119.1);
Tailwind
colors: {
  custom: {
    50: '#deee86',
    500: '#cbe74c',
    950: '#000000',
  },
}
SCSS
$custom: #cbe74c;
$custom-light: #deee86;
$custom-dark: #000000;
JSON
{
  "hex": "#cbe74c",
  "rgb": {
    "r": 203,
    "g": 231,
    "b": 76
  },
  "hsl": {
    "h": 70.839,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.87942,
    "c": 0.17786,
    "h": 119.1
  },
  "luminance": 0.7037
}

Semantic roles & 50–950 ramp

primary
#CBE74C
secondary
#4732A5
accent
#0DD932
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #CBE74C

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

Preview Lab → · Contrast checker → · Palette generator →

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