#CEBC48#CEBC48

#CEBC48 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.9% C 0.136 H 100.4°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#CEBC48
RGBrgb(206, 188, 72)
HSLhsl(52, 58%, 55%)
HSVhsv(52, 65%, 81%)
CMYKcmyk(0%, 8.7%, 65%, 19.2%)
CIE-LABlab(75.80, -7.11, 58.92)
CIE-LCHlch(75.80, 59.35, 96.88°)
OKLaboklab(78.89% -0.0246 0.1334)
OKLCHoklch(78.89% 0.136 100.4)
XYZxyz(44.6084, 49.5581, 13.3456)
Luminance0.4956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBC48 #485ACE
analogous
#CE7948 #CEBC48 #9DCE48
triadic
#CEBC48 #48CEBC #BC48CE
tetradic
#CEBC48 #48CE79 #485ACE #CE489D
square
#CEBC48 #48CE79 #485ACE #CE489D
split-complementary
#CEBC48 #489DCE #7948CE
monochromatic
#7B6F21 #AB9A2E #CEBC48 #DBCE78 #E8DFA9

Accessibility & contrast

On white

1.92
#CEBC48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#CEBC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBC48
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBC48#FFFFFF#000000##000000
##CEBC481.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB739
Deuteranopia (green-blind)
#D2BE4E
Tritanopia (blue-blind)
#DDAFA4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cebc48;
/* rgb */ color: rgb(206, 188, 72);
/* oklch */ color: oklch(78.9% 0.136 100.4);
Tailwind
colors: {
  custom: {
    50: '#e0cf80',
    500: '#cebc48',
    950: '#000000',
  },
}
SCSS
$custom: #cebc48;
$custom-light: #e0cf80;
$custom-dark: #000000;
JSON
{
  "hex": "#cebc48",
  "rgb": {
    "r": 206,
    "g": 188,
    "b": 72
  },
  "hsl": {
    "h": 51.94,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.78893,
    "c": 0.13565,
    "h": 100.4
  },
  "luminance": 0.49556
}

Semantic roles & 50–950 ramp

primary
#CEBC48
secondary
#9DA4D5
accent
#5CE147
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEBC48

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

Preview Lab → · Contrast checker → · Palette generator →

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