#CEB34A#CEB34A

#CEB34A is a light, vivid yellow. Relative luminance 0.459; OKLCH L 77.0% C 0.127 H 94.8°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#CEB34A
RGBrgb(206, 179, 74)
HSLhsl(48, 57%, 55%)
HSVhsv(48, 64%, 81%)
CMYKcmyk(0%, 13.1%, 64.1%, 19.2%)
CIE-LABlab(73.45, -2.30, 55.56)
CIE-LCHlch(73.45, 55.61, 92.37°)
OKLaboklab(77.04% -0.0106 0.1266)
OKLCHoklch(77.04% 0.127 94.8)
XYZxyz(42.8117, 45.8586, 13.0738)
Luminance0.4586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB34A #4A65CE
analogous
#CE714A #CEB34A #A7CE4A
triadic
#CEB34A #4ACEB3 #B34ACE
tetradic
#CEB34A #4ACE71 #4A65CE #CE4AA7
square
#CEB34A #4ACE71 #4A65CE #CE4AA7
split-complementary
#CEB34A #4AA7CE #714ACE
monochromatic
#7C6A22 #AC932F #CEB34A #DBC77A #E8DBAA

Accessibility & contrast

On white

2.06
#CEB34A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#CEB34A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB34A
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB34A#FFFFFF#000000##000000
##CEB34A1.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B03E
Deuteranopia (green-blind)
#CBB84F
Tritanopia (blue-blind)
#DEA69D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ceb34a;
/* rgb */ color: rgb(206, 179, 74);
/* oklch */ color: oklch(77.0% 0.127 94.8);
Tailwind
colors: {
  custom: {
    50: '#e0c981',
    500: '#ceb34a',
    950: '#000000',
  },
}
SCSS
$custom: #ceb34a;
$custom-light: #e0c981;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb34a",
  "rgb": {
    "r": 206,
    "g": 179,
    "b": 74
  },
  "hsl": {
    "h": 47.727,
    "s": 57.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77042,
    "c": 0.12702,
    "h": 94.8
  },
  "luminance": 0.45856
}

Semantic roles & 50–950 ramp

primary
#CEB34A
secondary
#9EA9D6
accent
#67E147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEB34A

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

Preview Lab → · Contrast checker → · Palette generator →

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