#CEB74A#CEB74A

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

Color values

HEX#CEB74A
RGBrgb(206, 183, 74)
HSLhsl(50, 57%, 55%)
HSVhsv(50, 64%, 81%)
CMYKcmyk(0%, 11.2%, 64.1%, 19.2%)
CIE-LABlab(74.50, -4.39, 56.69)
CIE-LCHlch(74.50, 56.86, 94.43°)
OKLaboklab(77.87% -0.0166 0.129)
OKLCHoklch(77.87% 0.13 97.3)
XYZxyz(43.6250, 47.4853, 13.3449)
Luminance0.4748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB74A #4A61CE
analogous
#CE754A #CEB74A #A3CE4A
triadic
#CEB74A #4ACEB7 #B74ACE
tetradic
#CEB74A #4ACE75 #4A61CE #CE4AA3
square
#CEB74A #4ACE75 #4A61CE #CE4AA3
split-complementary
#CEB74A #4AA3CE #754ACE
monochromatic
#7C6C22 #AC962F #CEB74A #DBCA7A #E8DDAA

Accessibility & contrast

On white

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

On black

10.50
#CEB74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB74A
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB74A#FFFFFF#000000##000000
##CEB74A1.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ceb74a;
/* rgb */ color: rgb(206, 183, 74);
/* oklch */ color: oklch(77.9% 0.130 97.3);
Tailwind
colors: {
  custom: {
    50: '#e0cc81',
    500: '#ceb74a',
    950: '#000000',
  },
}
SCSS
$custom: #ceb74a;
$custom-light: #e0cc81;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb74a",
  "rgb": {
    "r": 206,
    "g": 183,
    "b": 74
  },
  "hsl": {
    "h": 49.545,
    "s": 57.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.7787,
    "c": 0.13003,
    "h": 97.3
  },
  "luminance": 0.47483
}

Semantic roles & 50–950 ramp

primary
#CEB74A
secondary
#9EA8D6
accent
#62E147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEB74A

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

Preview Lab → · Contrast checker → · Palette generator →

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