#CEBE2E#CEBE2E

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

Color values

HEX#CEBE2E
RGBrgb(206, 190, 46)
HSLhsl(54, 63%, 49%)
HSVhsv(54, 78%, 81%)
CMYKcmyk(0%, 7.8%, 77.7%, 19.2%)
CIE-LABlab(76.16, -9.39, 68.88)
CIE-LCHlch(76.16, 69.52, 97.77°)
OKLaboklab(79.13% -0.0337 0.1499)
OKLCHoklch(79.13% 0.154 102.7)
XYZxyz(44.3623, 50.1479, 9.9270)
Luminance0.5015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBE2E #2E3ECE
analogous
#CE6E2E #CEBE2E #8ECE2E
triadic
#CEBE2E #2ECEBE #BE2ECE
tetradic
#CEBE2E #2ECE6E #2E3ECE #CE2E8E
square
#CEBE2E #2ECE6E #2E3ECE #CE2E8E
split-complementary
#CEBE2E #2E8ECE #6E2ECE
monochromatic
#6A6218 #9C9023 #CEBE2E #DBCF5E #E6DE90

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEBE2E#FFFFFF#000000##000000
##CEBE2E1.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)
#D0B805
Deuteranopia (green-blind)
#D5BF39
Tritanopia (blue-blind)
#DEB0A3
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cebe2e;
/* rgb */ color: rgb(206, 190, 46);
/* oklch */ color: oklch(79.1% 0.154 102.7);
Tailwind
colors: {
  custom: {
    50: '#e1d173',
    500: '#cebe2e',
    950: '#000000',
  },
}
SCSS
$custom: #cebe2e;
$custom-light: #e1d173;
$custom-dark: #000000;
JSON
{
  "hex": "#cebe2e",
  "rgb": {
    "r": 206,
    "g": 190,
    "b": 46
  },
  "hsl": {
    "h": 54,
    "s": 63.492,
    "l": 49.412
  },
  "oklch": {
    "l": 0.79128,
    "c": 0.15363,
    "h": 102.7
  },
  "luminance": 0.50146
}

Semantic roles & 50–950 ramp

primary
#CEBE2E
secondary
#2D3474
accent
#52E741
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CEBE2E

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

Preview Lab → · Contrast checker → · Palette generator →

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