#CEBA3F#CEBA3F

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

Color values

HEX#CEBA3F
RGBrgb(206, 186, 63)
HSLhsl(52, 59%, 53%)
HSVhsv(52, 69%, 81%)
CMYKcmyk(0%, 9.7%, 69.4%, 19.2%)
CIE-LABlab(75.20, -6.58, 61.97)
CIE-LCHlch(75.20, 62.32, 96.06°)
OKLaboklab(78.4% -0.0241 0.1384)
OKLCHoklch(78.4% 0.14 99.9)
XYZxyz(43.9117, 48.6005, 11.7695)
Luminance0.4860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBA3F #3F53CE
analogous
#CE723F #CEBA3F #9BCE3F
triadic
#CEBA3F #3FCEBA #BA3FCE
tetradic
#CEBA3F #3FCE72 #3F53CE #CE3F9B
square
#CEBA3F #3FCE72 #3F53CE #CE3F9B
split-complementary
#CEBA3F #3F9BCE #723FCE
monochromatic
#75691E #A6942A #CEBA3F #DACC70 #E7DDA1

Accessibility & contrast

On white

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

On black

10.72
#CEBA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBA3F
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBA3F#FFFFFF#000000##000000
##CEBA3F1.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB52D
Deuteranopia (green-blind)
#D1BC46
Tritanopia (blue-blind)
#DEADA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ceba3f;
/* rgb */ color: rgb(206, 186, 63);
/* oklch */ color: oklch(78.4% 0.140 99.9);
Tailwind
colors: {
  custom: {
    50: '#e1ce7b',
    500: '#ceba3f',
    950: '#000000',
  },
}
SCSS
$custom: #ceba3f;
$custom-light: #e1ce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#ceba3f",
  "rgb": {
    "r": 206,
    "g": 186,
    "b": 63
  },
  "hsl": {
    "h": 51.608,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.78399,
    "c": 0.14045,
    "h": 99.9
  },
  "luminance": 0.48599
}

Semantic roles & 50–950 ramp

primary
#CEBA3F
secondary
#959ED3
accent
#5BE345
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CEBA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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