#CEBA42#CEBA42

#CEBA42 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.4% C 0.138 H 99.7°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#CEBA42
RGBrgb(206, 186, 66)
HSLhsl(51, 59%, 53%)
HSVhsv(51, 68%, 81%)
CMYKcmyk(0%, 9.7%, 68%, 19.2%)
CIE-LABlab(75.22, -6.42, 60.80)
CIE-LCHlch(75.22, 61.14, 96.03°)
OKLaboklab(78.42% -0.0233 0.1364)
OKLCHoklch(78.42% 0.138 99.7)
XYZxyz(43.9978, 48.6350, 12.2232)
Luminance0.4863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBA42 #4256CE
analogous
#CE7442 #CEBA42 #9CCE42
triadic
#CEBA42 #42CEBA #BA42CE
tetradic
#CEBA42 #42CE74 #4256CE #CE429C
square
#CEBA42 #42CE74 #4256CE #CE429C
split-complementary
#CEBA42 #429CCE #7442CE
monochromatic
#776A1F #A7962B #CEBA42 #DBCC73 #E7DDA3

Accessibility & contrast

On white

1.96
#CEBA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#CEBA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBA42
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBA42#FFFFFF#000000##000000
##CEBA421.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB531
Deuteranopia (green-blind)
#D1BC49
Tritanopia (blue-blind)
#DEADA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ceba42;
/* rgb */ color: rgb(206, 186, 66);
/* oklch */ color: oklch(78.4% 0.138 99.7);
Tailwind
colors: {
  custom: {
    50: '#e0ce7d',
    500: '#ceba42',
    950: '#000000',
  },
}
SCSS
$custom: #ceba42;
$custom-light: #e0ce7d;
$custom-dark: #000000;
JSON
{
  "hex": "#ceba42",
  "rgb": {
    "r": 206,
    "g": 186,
    "b": 66
  },
  "hsl": {
    "h": 51.429,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.78423,
    "c": 0.13837,
    "h": 99.7
  },
  "luminance": 0.48633
}

Semantic roles & 50–950 ramp

primary
#CEBA42
secondary
#98A0D4
accent
#5CE246
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CEBA42

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

Preview Lab → · Contrast checker → · Palette generator →

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