#CEBB40#CEBB40

#CEBB40 is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.6% C 0.141 H 100.4°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#CEBB40
RGBrgb(206, 187, 64)
HSLhsl(52, 59%, 53%)
HSVhsv(52, 69%, 81%)
CMYKcmyk(0%, 9.2%, 68.9%, 19.2%)
CIE-LABlab(75.47, -7.05, 61.85)
CIE-LCHlch(75.47, 62.25, 96.50°)
OKLaboklab(78.62% -0.0253 0.1383)
OKLCHoklch(78.62% 0.141 100.4)
XYZxyz(44.1513, 49.0346, 11.9885)
Luminance0.4903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBB40 #4053CE
analogous
#CE7440 #CEBB40 #9ACE40
triadic
#CEBB40 #40CEBB #BB40CE
tetradic
#CEBB40 #40CE74 #4053CE #CE409A
square
#CEBB40 #40CE74 #4053CE #CE409A
split-complementary
#CEBB40 #409ACE #7440CE
monochromatic
#756A1E #A6962B #CEBB40 #DACC71 #E7DEA1

Accessibility & contrast

On white

1.94
#CEBB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#CEBB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBB40
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBB40#FFFFFF#000000##000000
##CEBB401.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB62E
Deuteranopia (green-blind)
#D2BD47
Tritanopia (blue-blind)
#DEAEA2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cebb40;
/* rgb */ color: rgb(206, 187, 64);
/* oklch */ color: oklch(78.6% 0.141 100.4);
Tailwind
colors: {
  custom: {
    50: '#e1cf7c',
    500: '#cebb40',
    950: '#000000',
  },
}
SCSS
$custom: #cebb40;
$custom-light: #e1cf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cebb40",
  "rgb": {
    "r": 206,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 51.972,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.78616,
    "c": 0.14057,
    "h": 100.4
  },
  "luminance": 0.49033
}

Semantic roles & 50–950 ramp

primary
#CEBB40
secondary
#969ED4
accent
#5AE245
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CEBB40

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

Preview Lab → · Contrast checker → · Palette generator →

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