#CEAB3E#CEAB3E

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

Color values

HEX#CEAB3E
RGBrgb(206, 171, 62)
HSLhsl(45, 60%, 53%)
HSVhsv(45, 70%, 81%)
CMYKcmyk(0%, 17%, 69.9%, 19.2%)
CIE-LABlab(71.28, 1.24, 58.41)
CIE-LCHlch(71.28, 58.42, 88.79°)
OKLaboklab(75.3% -0.0018 0.1306)
OKLCHoklch(75.3% 0.131 90.8)
XYZxyz(40.8882, 42.5979, 10.6251)
Luminance0.4259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEAB3E #3E61CE
analogous
#CE633E #CEAB3E #A9CE3E
triadic
#CEAB3E #3ECEAB #AB3ECE
tetradic
#CEAB3E #3ECE63 #3E61CE #CE3EA9
square
#CEAB3E #3ECE63 #3E61CE #CE3EA9
split-complementary
#CEAB3E #3EA9CE #633ECE
monochromatic
#745F1D #A5872A #CEAB3E #DAC06F #E7D5A0

Accessibility & contrast

On white

2.21
#CEAB3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#CEAB3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEAB3E
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEAB3E#FFFFFF#000000##000000
##CEAB3E1.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA92F
Deuteranopia (green-blind)
#C6B343
Tritanopia (blue-blind)
#DF9D95
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ceab3e;
/* rgb */ color: rgb(206, 171, 62);
/* oklch */ color: oklch(75.3% 0.131 90.8);
Tailwind
colors: {
  custom: {
    50: '#e1c379',
    500: '#ceab3e',
    950: '#000000',
  },
}
SCSS
$custom: #ceab3e;
$custom-light: #e1c379;
$custom-dark: #000000;
JSON
{
  "hex": "#ceab3e",
  "rgb": {
    "r": 206,
    "g": 171,
    "b": 62
  },
  "hsl": {
    "h": 45.417,
    "s": 59.504,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75295,
    "c": 0.13066,
    "h": 90.8
  },
  "luminance": 0.42595
}

Semantic roles & 50–950 ramp

primary
#CEAB3E
secondary
#95A4D3
accent
#6BE345
background
#FEFBF7
surface
#FDF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CEAB3E

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

Preview Lab → · Contrast checker → · Palette generator →

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