#CEBA47#CEBA47

#CEBA47 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.5% C 0.135 H 99.4°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#CEBA47
RGBrgb(206, 186, 71)
HSLhsl(51, 58%, 54%)
HSVhsv(51, 66%, 81%)
CMYKcmyk(0%, 9.7%, 65.5%, 19.2%)
CIE-LABlab(75.26, -6.14, 58.78)
CIE-LCHlch(75.26, 59.10, 95.96°)
OKLaboklab(78.47% -0.0219 0.1329)
OKLCHoklch(78.47% 0.135 99.4)
XYZxyz(44.1517, 48.6965, 13.0337)
Luminance0.4869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBA47 #475BCE
analogous
#CE7747 #CEBA47 #9FCE47
triadic
#CEBA47 #47CEBA #BA47CE
tetradic
#CEBA47 #47CE77 #475BCE #CE479F
square
#CEBA47 #47CE77 #475BCE #CE479F
split-complementary
#CEBA47 #479FCE #7747CE
monochromatic
#7A6D21 #AA982D #CEBA47 #DBCC77 #E8DEA8

Accessibility & contrast

On white

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

On black

10.74
#CEBA47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBA47
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBA47#FFFFFF#000000##000000
##CEBA471.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB539
Deuteranopia (green-blind)
#D1BD4D
Tritanopia (blue-blind)
#DDADA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ceba47;
/* rgb */ color: rgb(206, 186, 71);
/* oklch */ color: oklch(78.5% 0.135 99.4);
Tailwind
colors: {
  custom: {
    50: '#e0ce80',
    500: '#ceba47',
    950: '#000000',
  },
}
SCSS
$custom: #ceba47;
$custom-light: #e0ce80;
$custom-dark: #000000;
JSON
{
  "hex": "#ceba47",
  "rgb": {
    "r": 206,
    "g": 186,
    "b": 71
  },
  "hsl": {
    "h": 51.111,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.78466,
    "c": 0.13473,
    "h": 99.4
  },
  "luminance": 0.48695
}

Semantic roles & 50–950 ramp

primary
#CEBA47
secondary
#9CA4D5
accent
#5EE147
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CEBA47

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

Preview Lab → · Contrast checker → · Palette generator →

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