#CEBF48#CEBF48

#CEBF48 is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.5% C 0.138 H 102.1°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#CEBF48
RGBrgb(206, 191, 72)
HSLhsl(53, 58%, 55%)
HSVhsv(53, 65%, 81%)
CMYKcmyk(0%, 7.3%, 65%, 19.2%)
CIE-LABlab(76.59, -8.66, 59.76)
CIE-LCHlch(76.59, 60.38, 98.25°)
OKLaboklab(79.52% -0.029 0.1352)
OKLCHoklch(79.52% 0.138 102.1)
XYZxyz(45.2559, 50.8531, 13.5614)
Luminance0.5085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBF48 #4857CE
analogous
#CE7C48 #CEBF48 #9ACE48
triadic
#CEBF48 #48CEBF #BF48CE
tetradic
#CEBF48 #48CE7C #4857CE #CE489A
square
#CEBF48 #48CE7C #4857CE #CE489A
split-complementary
#CEBF48 #489ACE #7C48CE
monochromatic
#7B7121 #AB9D2E #CEBF48 #DBD078 #E8E1A9

Accessibility & contrast

On white

1.88
#CEBF48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#CEBF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBF48
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBF48#FFFFFF#000000##000000
##CEBF481.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B939
Deuteranopia (green-blind)
#D4C04F
Tritanopia (blue-blind)
#DDB2A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cebf48;
/* rgb */ color: rgb(206, 191, 72);
/* oklch */ color: oklch(79.5% 0.138 102.1);
Tailwind
colors: {
  custom: {
    50: '#e0d281',
    500: '#cebf48',
    950: '#000000',
  },
}
SCSS
$custom: #cebf48;
$custom-light: #e0d281;
$custom-dark: #000000;
JSON
{
  "hex": "#cebf48",
  "rgb": {
    "r": 206,
    "g": 191,
    "b": 72
  },
  "hsl": {
    "h": 53.284,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.79522,
    "c": 0.13824,
    "h": 102.1
  },
  "luminance": 0.50851
}

Semantic roles & 50–950 ramp

primary
#CEBF48
secondary
#374083
accent
#58E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEBF48

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

Preview Lab → · Contrast checker → · Palette generator →

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