#CEBC45#CEBC45

#CEBC45 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.9% C 0.138 H 100.6°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#CEBC45
RGBrgb(206, 188, 69)
HSLhsl(52, 58%, 54%)
HSVhsv(52, 67%, 81%)
CMYKcmyk(0%, 8.7%, 66.5%, 19.2%)
CIE-LABlab(75.77, -7.29, 60.15)
CIE-LCHlch(75.77, 60.59, 96.91°)
OKLaboklab(78.87% -0.0254 0.1355)
OKLCHoklch(78.87% 0.138 100.6)
XYZxyz(44.5129, 49.5199, 12.8427)
Luminance0.4952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBC45 #4557CE
analogous
#CE7845 #CEBC45 #9CCE45
triadic
#CEBC45 #45CEBC #BC45CE
tetradic
#CEBC45 #45CE78 #4557CE #CE459C
square
#CEBC45 #45CE78 #4557CE #CE459C
split-complementary
#CEBC45 #459CCE #7845CE
monochromatic
#796D20 #A9992D #CEBC45 #DBCD75 #E8DFA6

Accessibility & contrast

On white

1.93
#CEBC45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#CEBC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBC45
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBC45#FFFFFF#000000##000000
##CEBC451.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB735
Deuteranopia (green-blind)
#D2BE4C
Tritanopia (blue-blind)
#DDAFA3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cebc45;
/* rgb */ color: rgb(206, 188, 69);
/* oklch */ color: oklch(78.9% 0.138 100.6);
Tailwind
colors: {
  custom: {
    50: '#e0cf7f',
    500: '#cebc45',
    950: '#000000',
  },
}
SCSS
$custom: #cebc45;
$custom-light: #e0cf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cebc45",
  "rgb": {
    "r": 206,
    "g": 188,
    "b": 69
  },
  "hsl": {
    "h": 52.117,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.78867,
    "c": 0.13787,
    "h": 100.6
  },
  "luminance": 0.49518
}

Semantic roles & 50–950 ramp

primary
#CEBC45
secondary
#9AA2D5
accent
#5BE246
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CEBC45

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

Preview Lab → · Contrast checker → · Palette generator →

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