#CEB74E#CEB74E

#CEB74E is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.9% C 0.127 H 97.0°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#CEB74E
RGBrgb(206, 183, 78)
HSLhsl(49, 57%, 56%)
HSVhsv(49, 62%, 81%)
CMYKcmyk(0%, 11.2%, 62.1%, 19.2%)
CIE-LABlab(74.53, -4.14, 54.96)
CIE-LCHlch(74.53, 55.12, 94.31°)
OKLaboklab(77.91% -0.0154 0.1259)
OKLCHoklch(77.91% 0.127 97)
XYZxyz(43.7641, 47.5409, 14.0773)
Luminance0.4754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB74E #4E65CE
analogous
#CE774E #CEB74E #A5CE4E
triadic
#CEB74E #4ECEB7 #B74ECE
tetradic
#CEB74E #4ECE77 #4E65CE #CE4EA5
square
#CEB74E #4ECE77 #4E65CE #CE4EA5
split-complementary
#CEB74E #4EA5CE #774ECE
monochromatic
#7F6E23 #AE9830 #CEB74E #DBCA7E #E9DEAE

Accessibility & contrast

On white

2.00
#CEB74E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#CEB74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB74E
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB74E#FFFFFF#000000##000000
##CEB74E1.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B342
Deuteranopia (green-blind)
#CEBB53
Tritanopia (blue-blind)
#DDAAA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ceb74e;
/* rgb */ color: rgb(206, 183, 78);
/* oklch */ color: oklch(77.9% 0.127 97.0);
Tailwind
colors: {
  custom: {
    50: '#e0cc84',
    500: '#ceb74e',
    950: '#000000',
  },
}
SCSS
$custom: #ceb74e;
$custom-light: #e0cc84;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb74e",
  "rgb": {
    "r": 206,
    "g": 183,
    "b": 78
  },
  "hsl": {
    "h": 49.219,
    "s": 56.637,
    "l": 55.686
  },
  "oklch": {
    "l": 0.77909,
    "c": 0.12681,
    "h": 97
  },
  "luminance": 0.47539
}

Semantic roles & 50–950 ramp

primary
#CEB74E
secondary
#A1ABD7
accent
#63E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEB74E

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

Preview Lab → · Contrast checker → · Palette generator →

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