#C8B962#C8B962

#C8B962 is a light, moderate yellow. Relative luminance 0.479; OKLCH L 78.0% C 0.110 H 99.7°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#C8B962
RGBrgb(200, 185, 98)
HSLhsl(51, 48%, 58%)
HSVhsv(51, 51%, 78%)
CMYKcmyk(0%, 7.5%, 51%, 21.6%)
CIE-LABlab(74.74, -6.16, 45.66)
CIE-LCHlch(74.74, 46.07, 97.68°)
OKLaboklab(78.01% -0.0185 0.1082)
OKLCHoklch(78.01% 0.11 99.7)
XYZxyz(43.3743, 47.8607, 18.5062)
Luminance0.4786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B962 #6271C8
analogous
#C88662 #C8B962 #A4C862
triadic
#C8B962 #62C8B9 #B962C8
tetradic
#C8B962 #62C886 #6271C8 #C862A4
square
#C8B962 #62C886 #6271C8 #C862A4
split-complementary
#C8B962 #62A4C8 #8662C8
monochromatic
#82762E #AF9F3D #C8B962 #D8CD8F #E8E1BD

Accessibility & contrast

On white

1.99
#C8B962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#C8B962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B962
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B962#FFFFFF#000000##000000
##C8B9621.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B55A
Deuteranopia (green-blind)
#CCBA66
Tritanopia (blue-blind)
#D5AEA5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c8b962;
/* rgb */ color: rgb(200, 185, 98);
/* oklch */ color: oklch(78.0% 0.110 99.7);
Tailwind
colors: {
  custom: {
    50: '#dbcd91',
    500: '#c8b962',
    950: '#000000',
  },
}
SCSS
$custom: #c8b962;
$custom-light: #dbcd91;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b962",
  "rgb": {
    "r": 200,
    "g": 185,
    "b": 98
  },
  "hsl": {
    "h": 51.176,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.7801,
    "c": 0.10978,
    "h": 99.7
  },
  "luminance": 0.47859
}

Semantic roles & 50–950 ramp

primary
#C8B962
secondary
#AFB5D7
accent
#64D850
background
#FDFCF9
surface
#FBF9F1
border
#D4D2CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #C8B962

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

Preview Lab → · Contrast checker → · Palette generator →

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