#CEB862#CEB862

#CEB862 is a light, moderate yellow. Relative luminance 0.483; OKLCH L 78.3% C 0.110 H 95.3°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#CEB862
RGBrgb(206, 184, 98)
HSLhsl(48, 52%, 60%)
HSVhsv(48, 52%, 81%)
CMYKcmyk(0%, 10.7%, 52.4%, 19.2%)
CIE-LABlab(75.01, -3.14, 46.11)
CIE-LCHlch(75.01, 46.21, 93.90°)
OKLaboklab(78.35% -0.0102 0.1091)
OKLCHoklch(78.35% 0.11 95.3)
XYZxyz(44.8003, 48.2865, 18.5133)
Luminance0.4829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB862 #6278CE
analogous
#CE8262 #CEB862 #AECE62
triadic
#CEB862 #62CEB8 #B862CE
tetradic
#CEB862 #62CE82 #6278CE #CE62AE
square
#CEB862 #62CE82 #6278CE #CE62AE
split-complementary
#CEB862 #62AECE #8262CE
monochromatic
#8A772B #B99F3A #CEB862 #DDCD91 #EBE2BF

Accessibility & contrast

On white

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

On black

10.66
#CEB862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB862
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB862#FFFFFF#000000##000000
##CEB8621.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B55A
Deuteranopia (green-blind)
#CDBC66
Tritanopia (blue-blind)
#DCADA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ceb862;
/* rgb */ color: rgb(206, 184, 98);
/* oklch */ color: oklch(78.3% 0.110 95.3);
Tailwind
colors: {
  custom: {
    50: '#dfcd91',
    500: '#ceb862',
    950: '#000000',
  },
}
SCSS
$custom: #ceb862;
$custom-light: #dfcd91;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb862",
  "rgb": {
    "r": 206,
    "g": 184,
    "b": 98
  },
  "hsl": {
    "h": 47.778,
    "s": 52.427,
    "l": 59.608
  },
  "oklch": {
    "l": 0.78349,
    "c": 0.10956,
    "h": 95.3
  },
  "luminance": 0.48285
}

Semantic roles & 50–950 ramp

primary
#CEB862
secondary
#B1B9DB
accent
#69DC4C
background
#FEFCF9
surface
#FCF8F1
border
#D5D1CB
text
#15130D
muted
#84827E

Preview Lab

Preview with #CEB862

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

Preview Lab → · Contrast checker → · Palette generator →

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