#CEAB3F#CEAB3F

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

Color values

HEX#CEAB3F
RGBrgb(206, 171, 63)
HSLhsl(45, 59%, 53%)
HSVhsv(45, 69%, 81%)
CMYKcmyk(0%, 17%, 69.4%, 19.2%)
CIE-LABlab(71.29, 1.29, 58.00)
CIE-LCHlch(71.29, 58.02, 88.73°)
OKLaboklab(75.3% -0.0016 0.13)
OKLCHoklch(75.3% 0.13 90.7)
XYZxyz(40.9159, 42.6089, 10.7709)
Luminance0.4261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEAB3F #3F62CE
analogous
#CE643F #CEAB3F #A9CE3F
triadic
#CEAB3F #3FCEAB #AB3FCE
tetradic
#CEAB3F #3FCE64 #3F62CE #CE3FA9
square
#CEAB3F #3FCE64 #3F62CE #CE3FA9
split-complementary
#CEAB3F #3FA9CE #643FCE
monochromatic
#75601E #A6872A #CEAB3F #DAC070 #E7D6A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEAB3F#FFFFFF#000000##000000
##CEAB3F1.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)
#BEA931
Deuteranopia (green-blind)
#C6B344
Tritanopia (blue-blind)
#DF9D95
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ceab3f;
/* rgb */ color: rgb(206, 171, 63);
/* oklch */ color: oklch(75.3% 0.130 90.7);
Tailwind
colors: {
  custom: {
    50: '#e1c37a',
    500: '#ceab3f',
    950: '#000000',
  },
}
SCSS
$custom: #ceab3f;
$custom-light: #e1c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#ceab3f",
  "rgb": {
    "r": 206,
    "g": 171,
    "b": 63
  },
  "hsl": {
    "h": 45.315,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.75304,
    "c": 0.12997,
    "h": 90.7
  },
  "luminance": 0.42607
}

Semantic roles & 50–950 ramp

primary
#CEAB3F
secondary
#95A5D3
accent
#6CE345
background
#FEFBF7
surface
#FDF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CEAB3F

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

Preview Lab → · Contrast checker → · Palette generator →

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