#C8B462#C8B462

#C8B462 is a light, moderate yellow. Relative luminance 0.458; OKLCH L 77.0% C 0.105 H 96.0°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#C8B462
RGBrgb(200, 180, 98)
HSLhsl(48, 48%, 58%)
HSVhsv(48, 51%, 78%)
CMYKcmyk(0%, 10%, 51%, 21.6%)
CIE-LABlab(73.42, -3.54, 44.07)
CIE-LCHlch(73.42, 44.22, 94.60°)
OKLaboklab(76.97% -0.011 0.1047)
OKLCHoklch(76.97% 0.105 96)
XYZxyz(42.3467, 45.8054, 18.1636)
Luminance0.4580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B462 #6276C8
analogous
#C88162 #C8B462 #A9C862
triadic
#C8B462 #62C8B4 #B462C8
tetradic
#C8B462 #62C881 #6276C8 #C862A9
square
#C8B462 #62C881 #6276C8 #C862A9
split-complementary
#C8B462 #62A9C8 #8162C8
monochromatic
#82712E #AF993D #C8B462 #D8CA8F #E8DFBD

Accessibility & contrast

On white

2.07
#C8B462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#C8B462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B462
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B462#FFFFFF#000000##000000
##C8B4621.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B15B
Deuteranopia (green-blind)
#C8B765
Tritanopia (blue-blind)
#D5A9A1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c8b462;
/* rgb */ color: rgb(200, 180, 98);
/* oklch */ color: oklch(77.0% 0.105 96.0);
Tailwind
colors: {
  custom: {
    50: '#dbca90',
    500: '#c8b462',
    950: '#000000',
  },
}
SCSS
$custom: #c8b462;
$custom-light: #dbca90;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b462",
  "rgb": {
    "r": 200,
    "g": 180,
    "b": 98
  },
  "hsl": {
    "h": 48.235,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.76967,
    "c": 0.1053,
    "h": 96
  },
  "luminance": 0.45804
}

Semantic roles & 50–950 ramp

primary
#C8B462
secondary
#AFB7D7
accent
#6BD850
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #C8B462

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

Preview Lab → · Contrast checker → · Palette generator →

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