#C8B162#C8B162

#C8B162 is a light, moderate yellow. Relative luminance 0.446; OKLCH L 76.3% C 0.103 H 93.6°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#C8B162
RGBrgb(200, 177, 98)
HSLhsl(46, 48%, 58%)
HSVhsv(46, 51%, 78%)
CMYKcmyk(0%, 11.5%, 51%, 21.6%)
CIE-LABlab(72.63, -1.96, 43.12)
CIE-LCHlch(72.63, 43.17, 92.61°)
OKLaboklab(76.35% -0.0064 0.1026)
OKLCHoklch(76.35% 0.103 93.6)
XYZxyz(41.7476, 44.6073, 17.9639)
Luminance0.4461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B162 #6279C8
analogous
#C87E62 #C8B162 #ACC862
triadic
#C8B162 #62C8B1 #B162C8
tetradic
#C8B162 #62C87E #6279C8 #C862AC
square
#C8B162 #62C87E #6279C8 #C862AC
split-complementary
#C8B162 #62ACC8 #7E62C8
monochromatic
#826F2E #AF963D #C8B162 #D8C88F #E8DEBD

Accessibility & contrast

On white

2.12
#C8B162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#C8B162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B162
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B162#FFFFFF#000000##000000
##C8B1621.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AE5B
Deuteranopia (green-blind)
#C6B565
Tritanopia (blue-blind)
#D6A69E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c8b162;
/* rgb */ color: rgb(200, 177, 98);
/* oklch */ color: oklch(76.3% 0.103 93.6);
Tailwind
colors: {
  custom: {
    50: '#dbc890',
    500: '#c8b162',
    950: '#000000',
  },
}
SCSS
$custom: #c8b162;
$custom-light: #dbc890;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b162",
  "rgb": {
    "r": 200,
    "g": 177,
    "b": 98
  },
  "hsl": {
    "h": 46.471,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.76345,
    "c": 0.10283,
    "h": 93.6
  },
  "luminance": 0.44605
}

Semantic roles & 50–950 ramp

primary
#C8B162
secondary
#AFB8D7
accent
#6FD850
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130D
muted
#83827D

Preview Lab

Preview with #C8B162

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

Preview Lab → · Contrast checker → · Palette generator →

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