#CBE74F#CBE74F

#CBE74F is a very light, vivid yellow-green. Relative luminance 0.704; OKLCH L 88.0% C 0.176 H 119.2°. Best body text is #000000 at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#CBE74F
RGBrgb(203, 231, 79)
HSLhsl(71, 76%, 61%)
HSVhsv(71, 66%, 91%)
CMYKcmyk(12.1%, 0%, 65.8%, 9.4%)
CIE-LABlab(87.20, -29.14, 67.94)
CIE-LCHlch(87.20, 73.93, 113.21°)
OKLaboklab(87.97% -0.0856 0.1535)
OKLCHoklch(87.97% 0.176 119.2)
XYZxyz(54.6168, 70.4132, 18.1095)
Luminance0.7041 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBE74F #6B4FE7
analogous
#E7B74F #CBE74F #7FE74F
triadic
#CBE74F #4FCBE7 #E74FCB
tetradic
#CBE74F #4FE7B7 #6B4FE7 #E74F7F
square
#CBE74F #4FE7B7 #6B4FE7 #E74F7F
split-complementary
#CBE74F #4F7FE7 #B74FE7
monochromatic
#8BA517 #B8DB1E #CBE74F #DBEE85 #EBF6BB

Accessibility & contrast

On white

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

On black

15.08
#CBE74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBE74F
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBE74F#FFFFFF#000000##000000
##CBE74F1.001.3915.0815.08
#FFFFFF1.391.0021.0021.00
#00000015.0821.001.001.00
##00000015.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbe74f;
/* rgb */ color: rgb(203, 231, 79);
/* oklch */ color: oklch(88.0% 0.176 119.2);
Tailwind
colors: {
  custom: {
    50: '#deee88',
    500: '#cbe74f',
    950: '#000000',
  },
}
SCSS
$custom: #cbe74f;
$custom-light: #deee88;
$custom-dark: #000000;
JSON
{
  "hex": "#cbe74f",
  "rgb": {
    "r": 203,
    "g": 231,
    "b": 79
  },
  "hsl": {
    "h": 71.053,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.87965,
    "c": 0.17581,
    "h": 119.2
  },
  "luminance": 0.70413
}

Semantic roles & 50–950 ramp

primary
#CBE74F
secondary
#4833A7
accent
#0DD833
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #CBE74F

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

Preview Lab → · Contrast checker → · Palette generator →

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