#CEBE2C#CEBE2C

#CEBE2C is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.1% C 0.155 H 102.7°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#CEBE2C
RGBrgb(206, 190, 44)
HSLhsl(54, 65%, 49%)
HSVhsv(54, 79%, 81%)
CMYKcmyk(0%, 7.8%, 78.6%, 19.2%)
CIE-LABlab(76.15, -9.46, 69.48)
CIE-LCHlch(76.15, 70.12, 97.76°)
OKLaboklab(79.12% -0.034 0.1508)
OKLCHoklch(79.12% 0.155 102.7)
XYZxyz(44.3238, 50.1325, 9.7242)
Luminance0.5013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBE2C #2C3CCE
analogous
#CE6D2C #CEBE2C #8DCE2C
triadic
#CEBE2C #2CCEBE #BE2CCE
tetradic
#CEBE2C #2CCE6D #2C3CCE #CE2C8D
square
#CEBE2C #2CCE6D #2C3CCE #CE2C8D
split-complementary
#CEBE2C #2C8DCE #6D2CCE
monochromatic
#696116 #9C8F21 #CEBE2C #DCCF5B #E7DE8E

Accessibility & contrast

On white

1.90
#CEBE2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#CEBE2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBE2C
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBE2C#FFFFFF#000000##000000
##CEBE2C1.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B800
Deuteranopia (green-blind)
#D5BF38
Tritanopia (blue-blind)
#DEB0A3
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cebe2c;
/* rgb */ color: rgb(206, 190, 44);
/* oklch */ color: oklch(79.1% 0.155 102.7);
Tailwind
colors: {
  custom: {
    50: '#e1d172',
    500: '#cebe2c',
    950: '#000000',
  },
}
SCSS
$custom: #cebe2c;
$custom-light: #e1d172;
$custom-dark: #000000;
JSON
{
  "hex": "#cebe2c",
  "rgb": {
    "r": 206,
    "g": 190,
    "b": 44
  },
  "hsl": {
    "h": 54.074,
    "s": 64.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.79118,
    "c": 0.15459,
    "h": 102.7
  },
  "luminance": 0.50131
}

Semantic roles & 50–950 ramp

primary
#CEBE2C
secondary
#2B3273
accent
#51E840
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CEBE2C

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

Preview Lab → · Contrast checker → · Palette generator →

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