#CEAB42#CEAB42

#CEAB42 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 75.3% C 0.128 H 90.3°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#CEAB42
RGBrgb(206, 171, 66)
HSLhsl(45, 59%, 53%)
HSVhsv(45, 68%, 81%)
CMYKcmyk(0%, 17%, 68%, 19.2%)
CIE-LABlab(71.31, 1.45, 56.76)
CIE-LCHlch(71.31, 56.78, 88.54°)
OKLaboklab(75.33% -0.0007 0.1279)
OKLCHoklch(75.33% 0.128 90.3)
XYZxyz(41.0020, 42.6434, 11.2246)
Luminance0.4264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEAB42 #4265CE
analogous
#CE6542 #CEAB42 #ABCE42
triadic
#CEAB42 #42CEAB #AB42CE
tetradic
#CEAB42 #42CE65 #4265CE #CE42AB
square
#CEAB42 #42CE65 #4265CE #CE42AB
split-complementary
#CEAB42 #42ABCE #6542CE
monochromatic
#77611F #A7882B #CEAB42 #DBC173 #E7D6A3

Accessibility & contrast

On white

2.20
#CEAB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#CEAB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEAB42
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEAB42#FFFFFF#000000##000000
##CEAB421.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA935
Deuteranopia (green-blind)
#C6B347
Tritanopia (blue-blind)
#DE9D95
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ceab42;
/* rgb */ color: rgb(206, 171, 66);
/* oklch */ color: oklch(75.3% 0.128 90.3);
Tailwind
colors: {
  custom: {
    50: '#e1c37c',
    500: '#ceab42',
    950: '#000000',
  },
}
SCSS
$custom: #ceab42;
$custom-light: #e1c37c;
$custom-dark: #000000;
JSON
{
  "hex": "#ceab42",
  "rgb": {
    "r": 206,
    "g": 171,
    "b": 66
  },
  "hsl": {
    "h": 45,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.7533,
    "c": 0.12785,
    "h": 90.3
  },
  "luminance": 0.42641
}

Semantic roles & 50–950 ramp

primary
#CEAB42
secondary
#98A7D4
accent
#6DE246
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CEAB42

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

Preview Lab → · Contrast checker → · Palette generator →

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