#CEB84C#CEB84C

#CEB84C is a light, vivid yellow. Relative luminance 0.479; OKLCH L 78.1% C 0.129 H 97.8°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#CEB84C
RGBrgb(206, 184, 76)
HSLhsl(50, 57%, 55%)
HSVhsv(50, 63%, 81%)
CMYKcmyk(0%, 10.7%, 63.1%, 19.2%)
CIE-LABlab(74.78, -4.79, 56.11)
CIE-LCHlch(74.78, 56.32, 94.88°)
OKLaboklab(78.1% -0.0175 0.1281)
OKLCHoklch(78.1% 0.129 97.8)
XYZxyz(43.9005, 47.9266, 13.7744)
Luminance0.4793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB84C #4C62CE
analogous
#CE774C #CEB84C #A3CE4C
triadic
#CEB84C #4CCEB8 #B84CCE
tetradic
#CEB84C #4CCE77 #4C62CE #CE4CA3
square
#CEB84C #4CCE77 #4C62CE #CE4CA3
split-complementary
#CEB84C #4CA3CE #774CCE
monochromatic
#7D6E22 #AD982F #CEB84C #DBCB7C #E8DEAC

Accessibility & contrast

On white

1.98
#CEB84C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#CEB84C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB84C
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB84C#FFFFFF#000000##000000
##CEB84C1.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B440
Deuteranopia (green-blind)
#CFBB51
Tritanopia (blue-blind)
#DDABA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ceb84c;
/* rgb */ color: rgb(206, 184, 76);
/* oklch */ color: oklch(78.1% 0.129 97.8);
Tailwind
colors: {
  custom: {
    50: '#e0cd83',
    500: '#ceb84c',
    950: '#000000',
  },
}
SCSS
$custom: #ceb84c;
$custom-light: #e0cd83;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb84c",
  "rgb": {
    "r": 206,
    "g": 184,
    "b": 76
  },
  "hsl": {
    "h": 49.846,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78096,
    "c": 0.12924,
    "h": 97.8
  },
  "luminance": 0.47925
}

Semantic roles & 50–950 ramp

primary
#CEB84C
secondary
#A0A9D6
accent
#61E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEB84C

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

Preview Lab → · Contrast checker → · Palette generator →

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