#CBE742#CBE742

#CBE742 is a very light, vivid yellow-green. Relative luminance 0.702; OKLCH L 87.9% C 0.184 H 118.8°. Best body text is #000000 at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#CBE742
RGBrgb(203, 231, 66)
HSLhsl(70, 77%, 58%)
HSVhsv(70, 71%, 91%)
CMYKcmyk(12.1%, 0%, 71.4%, 9.4%)
CIE-LABlab(87.12, -29.86, 72.56)
CIE-LCHlch(87.12, 78.47, 112.37°)
OKLaboklab(87.87% -0.0888 0.1613)
OKLCHoklch(87.87% 0.184 118.8)
XYZxyz(54.1890, 70.2421, 15.8566)
Luminance0.7024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBE742 #5E42E7
analogous
#E7B142 #CBE742 #78E742
triadic
#CBE742 #42CBE7 #E742CB
tetradic
#CBE742 #42E7B1 #5E42E7 #E74278
square
#CBE742 #42E7B1 #5E42E7 #E74278
split-complementary
#CBE742 #4278E7 #B142E7
monochromatic
#849B14 #B2D11B #CBE742 #DAEE78 #E9F5AF

Accessibility & contrast

On white

1.40
#CBE742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.05
#CBE742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBE742
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBE742#FFFFFF#000000##000000
##CBE7421.001.4015.0515.05
#FFFFFF1.401.0021.0021.00
#00000015.0521.001.001.00
##00000015.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DA23
Deuteranopia (green-blind)
#F3DB50
Tritanopia (blue-blind)
#D7DBC7
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #cbe742;
/* rgb */ color: rgb(203, 231, 66);
/* oklch */ color: oklch(87.9% 0.184 118.8);
Tailwind
colors: {
  custom: {
    50: '#dfee81',
    500: '#cbe742',
    950: '#000000',
  },
}
SCSS
$custom: #cbe742;
$custom-light: #dfee81;
$custom-dark: #000000;
JSON
{
  "hex": "#cbe742",
  "rgb": {
    "r": 203,
    "g": 231,
    "b": 66
  },
  "hsl": {
    "h": 70.182,
    "s": 77.465,
    "l": 58.235
  },
  "oklch": {
    "l": 0.87871,
    "c": 0.18412,
    "h": 118.8
  },
  "luminance": 0.70242
}

Semantic roles & 50–950 ramp

primary
#CBE742
secondary
#422F9E
accent
#34F454
background
#FEFFFB
surface
#FCFEF2
border
#D5D6CC
text
#16160B
muted
#84857E

Preview Lab

Preview with #CBE742

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

Preview Lab → · Contrast checker → · Palette generator →

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