#CEBE42#CEBE42

#CEBE42 is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.3% C 0.142 H 101.9°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#CEBE42
RGBrgb(206, 190, 66)
HSLhsl(53, 59%, 53%)
HSVhsv(53, 68%, 81%)
CMYKcmyk(0%, 7.8%, 68%, 19.2%)
CIE-LABlab(76.28, -8.49, 61.88)
CIE-LCHlch(76.28, 62.46, 97.81°)
OKLaboklab(79.26% -0.0291 0.1387)
OKLCHoklch(79.26% 0.142 101.9)
XYZxyz(44.8523, 50.3440, 12.5080)
Luminance0.5034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBE42 #4252CE
analogous
#CE7842 #CEBE42 #98CE42
triadic
#CEBE42 #42CEBE #BE42CE
tetradic
#CEBE42 #42CE78 #4252CE #CE4298
square
#CEBE42 #42CE78 #4252CE #CE4298
split-complementary
#CEBE42 #4298CE #7842CE
monochromatic
#776D1F #A7992B #CEBE42 #DBCF73 #E7DFA3

Accessibility & contrast

On white

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

On black

11.07
#CEBE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBE42
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBE42#FFFFFF#000000##000000
##CEBE421.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB831
Deuteranopia (green-blind)
#D4BF4A
Tritanopia (blue-blind)
#DDB1A5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cebe42;
/* rgb */ color: rgb(206, 190, 66);
/* oklch */ color: oklch(79.3% 0.142 101.9);
Tailwind
colors: {
  custom: {
    50: '#e0d17d',
    500: '#cebe42',
    950: '#000000',
  },
}
SCSS
$custom: #cebe42;
$custom-light: #e0d17d;
$custom-dark: #000000;
JSON
{
  "hex": "#cebe42",
  "rgb": {
    "r": 206,
    "g": 190,
    "b": 66
  },
  "hsl": {
    "h": 53.143,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.79262,
    "c": 0.14171,
    "h": 101.9
  },
  "luminance": 0.50342
}

Semantic roles & 50–950 ramp

primary
#CEBE42
secondary
#353D7F
accent
#58E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CEBE42

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

Preview Lab → · Contrast checker → · Palette generator →

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