#CEB958#CEB958

#CEB958 is a light, moderate yellow. Relative luminance 0.485; OKLCH L 78.4% C 0.120 H 97.3°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#CEB958
RGBrgb(206, 185, 88)
HSLhsl(49, 55%, 58%)
HSVhsv(49, 57%, 81%)
CMYKcmyk(0%, 10.2%, 57.3%, 19.2%)
CIE-LABlab(75.16, -4.47, 51.08)
CIE-LCHlch(75.16, 51.27, 95.00°)
OKLaboklab(78.43% -0.0151 0.1189)
OKLCHoklch(78.43% 0.12 97.3)
XYZxyz(44.5657, 48.5263, 16.2497)
Luminance0.4852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB958 #586DCE
analogous
#CE7E58 #CEB958 #A8CE58
triadic
#CEB958 #58CEB9 #B958CE
tetradic
#CEB958 #58CE7E #586DCE #CE58A8
square
#CEB958 #58CE7E #586DCE #CE58A8
split-complementary
#CEB958 #58A8CE #7E58CE
monochromatic
#857427 #B49D35 #CEB958 #DCCD87 #EAE1B7

Accessibility & contrast

On white

1.96
#CEB958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.70
#CEB958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB958
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB958#FFFFFF#000000##000000
##CEB9581.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B54E
Deuteranopia (green-blind)
#CFBC5C
Tritanopia (blue-blind)
#DDADA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ceb958;
/* rgb */ color: rgb(206, 185, 88);
/* oklch */ color: oklch(78.4% 0.120 97.3);
Tailwind
colors: {
  custom: {
    50: '#e0cd8a',
    500: '#ceb958',
    950: '#000000',
  },
}
SCSS
$custom: #ceb958;
$custom-light: #e0cd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb958",
  "rgb": {
    "r": 206,
    "g": 185,
    "b": 88
  },
  "hsl": {
    "h": 49.322,
    "s": 54.63,
    "l": 57.647
  },
  "oklch": {
    "l": 0.78432,
    "c": 0.11981,
    "h": 97.3
  },
  "luminance": 0.48524
}

Semantic roles & 50–950 ramp

primary
#CEB958
secondary
#A9B2D9
accent
#64DE4A
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CEB958

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

Preview Lab → · Contrast checker → · Palette generator →

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