#CEBF2D#CEBF2D

#CEBF2D is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.3% C 0.155 H 103.2°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#CEBF2D
RGBrgb(206, 191, 45)
HSLhsl(54, 64%, 49%)
HSVhsv(54, 78%, 81%)
CMYKcmyk(0%, 7.3%, 78.2%, 19.2%)
CIE-LABlab(76.42, -9.94, 69.42)
CIE-LCHlch(76.42, 70.13, 98.15°)
OKLaboklab(79.33% -0.0353 0.1509)
OKLCHoklch(79.33% 0.155 103.2)
XYZxyz(44.5601, 50.5748, 9.8969)
Luminance0.5057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBF2D #2D3CCE
analogous
#CE6F2D #CEBF2D #8DCE2D
triadic
#CEBF2D #2DCEBF #BF2DCE
tetradic
#CEBF2D #2DCE6F #2D3CCE #CE2D8D
square
#CEBF2D #2DCE6F #2D3CCE #CE2D8D
split-complementary
#CEBF2D #2D8DCE #6F2DCE
monochromatic
#6A6217 #9C9022 #CEBF2D #DCD05D #E7DE8F

Accessibility & contrast

On white

1.89
#CEBF2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#CEBF2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBF2D
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBF2D#FFFFFF#000000##000000
##CEBF2D1.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B900
Deuteranopia (green-blind)
#D6C039
Tritanopia (blue-blind)
#DEB1A4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cebf2d;
/* rgb */ color: rgb(206, 191, 45);
/* oklch */ color: oklch(79.3% 0.155 103.2);
Tailwind
colors: {
  custom: {
    50: '#e1d173',
    500: '#cebf2d',
    950: '#000000',
  },
}
SCSS
$custom: #cebf2d;
$custom-light: #e1d173;
$custom-dark: #000000;
JSON
{
  "hex": "#cebf2d",
  "rgb": {
    "r": 206,
    "g": 191,
    "b": 45
  },
  "hsl": {
    "h": 54.41,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.79334,
    "c": 0.15493,
    "h": 103.2
  },
  "luminance": 0.50573
}

Semantic roles & 50–950 ramp

primary
#CEBF2D
secondary
#2C3373
accent
#50E741
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CEBF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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