#CEBC2D#CEBC2D

#CEBC2D is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.7% C 0.153 H 101.7°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#CEBC2D
RGBrgb(206, 188, 45)
HSLhsl(53, 64%, 49%)
HSVhsv(53, 78%, 81%)
CMYKcmyk(0%, 8.7%, 78.2%, 19.2%)
CIE-LABlab(75.63, -8.40, 68.71)
CIE-LCHlch(75.63, 69.22, 96.97°)
OKLaboklab(78.7% -0.031 0.1493)
OKLCHoklch(78.7% 0.153 101.7)
XYZxyz(43.9126, 49.2797, 9.6810)
Luminance0.4928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBC2D #2D3FCE
analogous
#CE6C2D #CEBC2D #90CE2D
triadic
#CEBC2D #2DCEBC #BC2DCE
tetradic
#CEBC2D #2DCE6C #2D3FCE #CE2D90
square
#CEBC2D #2DCE6C #2D3FCE #CE2D90
split-complementary
#CEBC2D #2D90CE #6C2DCE
monochromatic
#6A6017 #9C8E22 #CEBC2D #DCCD5D #E7DD8F

Accessibility & contrast

On white

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

On black

10.86
#CEBC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBC2D
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBC2D#FFFFFF#000000##000000
##CEBC2D1.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB603
Deuteranopia (green-blind)
#D3BE38
Tritanopia (blue-blind)
#DEAEA1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cebc2d;
/* rgb */ color: rgb(206, 188, 45);
/* oklch */ color: oklch(78.7% 0.153 101.7);
Tailwind
colors: {
  custom: {
    50: '#e1cf72',
    500: '#cebc2d',
    950: '#000000',
  },
}
SCSS
$custom: #cebc2d;
$custom-light: #e1cf72;
$custom-dark: #000000;
JSON
{
  "hex": "#cebc2d",
  "rgb": {
    "r": 206,
    "g": 188,
    "b": 45
  },
  "hsl": {
    "h": 53.292,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.78702,
    "c": 0.15251,
    "h": 101.7
  },
  "luminance": 0.49278
}

Semantic roles & 50–950 ramp

primary
#CEBC2D
secondary
#868ED1
accent
#53E741
background
#FEFCF7
surface
#FDF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CEBC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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