#CEB94F#CEB94F

#CEB94F is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.3% C 0.128 H 98.1°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#CEB94F
RGBrgb(206, 185, 79)
HSLhsl(50, 56%, 56%)
HSVhsv(50, 62%, 81%)
CMYKcmyk(0%, 10.2%, 61.7%, 19.2%)
CIE-LABlab(75.07, -5.11, 55.10)
CIE-LCHlch(75.07, 55.34, 95.30°)
OKLaboklab(78.33% -0.018 0.1263)
OKLCHoklch(78.33% 0.128 98.1)
XYZxyz(44.2157, 48.3862, 14.4061)
Luminance0.4838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB94F #4F64CE
analogous
#CE794F #CEB94F #A3CE4F
triadic
#CEB94F #4FCEB9 #B94FCE
tetradic
#CEB94F #4FCE79 #4F64CE #CE4FA3
square
#CEB94F #4FCE79 #4F64CE #CE4FA3
split-complementary
#CEB94F #4FA3CE #794FCE
monochromatic
#7F7023 #AF9A31 #CEB94F #DBCC7F #E9DFAF

Accessibility & contrast

On white

1.97
#CEB94F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#CEB94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB94F
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB94F#FFFFFF#000000##000000
##CEB94F1.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB543
Deuteranopia (green-blind)
#CFBC54
Tritanopia (blue-blind)
#DDACA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ceb94f;
/* rgb */ color: rgb(206, 185, 79);
/* oklch */ color: oklch(78.3% 0.128 98.1);
Tailwind
colors: {
  custom: {
    50: '#e0cd84',
    500: '#ceb94f',
    950: '#000000',
  },
}
SCSS
$custom: #ceb94f;
$custom-light: #e0cd84;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb94f",
  "rgb": {
    "r": 206,
    "g": 185,
    "b": 79
  },
  "hsl": {
    "h": 50.079,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78334,
    "c": 0.1276,
    "h": 98.1
  },
  "luminance": 0.48384
}

Semantic roles & 50–950 ramp

primary
#CEB94F
secondary
#A2ABD7
accent
#61E048
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEB94F

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

Preview Lab → · Contrast checker → · Palette generator →

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