#CBE140#CBE140

#CBE140 is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 86.5% C 0.179 H 117.1°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#CBE140
RGBrgb(203, 225, 64)
HSLhsl(68, 73%, 57%)
HSVhsv(68, 72%, 88%)
CMYKcmyk(9.8%, 0%, 71.6%, 11.8%)
CIE-LABlab(85.46, -27.14, 71.64)
CIE-LCHlch(85.46, 76.61, 110.75°)
OKLaboklab(86.54% -0.0815 0.159)
OKLCHoklch(86.54% 0.179 117.1)
XYZxyz(52.4805, 66.9177, 15.0013)
Luminance0.6692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBE140 #5640E1
analogous
#E1A740 #CBE140 #7BE140
triadic
#CBE140 #40CBE1 #E140CB
tetradic
#CBE140 #40E1A7 #5640E1 #E1407B
square
#CBE140 #40E1A7 #5640E1 #E1407B
split-complementary
#CBE140 #407BE1 #A740E1
monochromatic
#7F9017 #AEC51F #CBE140 #D9E975 #E8F2AA

Accessibility & contrast

On white

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

On black

14.38
#CBE140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBE140
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBE140#FFFFFF#000000##000000
##CBE1401.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D521
Deuteranopia (green-blind)
#EED74D
Tritanopia (blue-blind)
#D7D4C2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cbe140;
/* rgb */ color: rgb(203, 225, 64);
/* oklch */ color: oklch(86.5% 0.179 117.1);
Tailwind
colors: {
  custom: {
    50: '#deea7f',
    500: '#cbe140',
    950: '#000000',
  },
}
SCSS
$custom: #cbe140;
$custom-light: #deea7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbe140",
  "rgb": {
    "r": 203,
    "g": 225,
    "b": 64
  },
  "hsl": {
    "h": 68.199,
    "s": 72.851,
    "l": 56.667
  },
  "oklch": {
    "l": 0.86538,
    "c": 0.17866,
    "h": 117.1
  },
  "luminance": 0.66917
}

Semantic roles & 50–950 ramp

primary
#CBE140
secondary
#3E3095
accent
#38F051
background
#FEFEFB
surface
#FCFDF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #CBE140

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

Preview Lab → · Contrast checker → · Palette generator →

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