#C8B362#C8B362

#C8B362 is a light, moderate yellow. Relative luminance 0.454; OKLCH L 76.8% C 0.104 H 95.2°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#C8B362
RGBrgb(200, 179, 98)
HSLhsl(48, 48%, 58%)
HSVhsv(48, 51%, 78%)
CMYKcmyk(0%, 10.5%, 51%, 21.6%)
CIE-LABlab(73.16, -3.02, 43.76)
CIE-LCHlch(73.16, 43.86, 93.95°)
OKLaboklab(76.76% -0.0094 0.104)
OKLCHoklch(76.76% 0.104 95.2)
XYZxyz(42.1455, 45.4032, 18.0966)
Luminance0.4540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B362 #6277C8
analogous
#C88062 #C8B362 #AAC862
triadic
#C8B362 #62C8B3 #B362C8
tetradic
#C8B362 #62C880 #6277C8 #C862AA
square
#C8B362 #62C880 #6277C8 #C862AA
split-complementary
#C8B362 #62AAC8 #8062C8
monochromatic
#82712E #AF983D #C8B362 #D8C98F #E8DFBD

Accessibility & contrast

On white

2.08
#C8B362 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#C8B362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B362
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B362#FFFFFF#000000##000000
##C8B3621.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B05B
Deuteranopia (green-blind)
#C7B765
Tritanopia (blue-blind)
#D5A8A0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c8b362;
/* rgb */ color: rgb(200, 179, 98);
/* oklch */ color: oklch(76.8% 0.104 95.2);
Tailwind
colors: {
  custom: {
    50: '#dbc990',
    500: '#c8b362',
    950: '#000000',
  },
}
SCSS
$custom: #c8b362;
$custom-light: #dbc990;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b362",
  "rgb": {
    "r": 200,
    "g": 179,
    "b": 98
  },
  "hsl": {
    "h": 47.647,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.76759,
    "c": 0.10446,
    "h": 95.2
  },
  "luminance": 0.45401
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8B362

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

Preview Lab → · Contrast checker → · Palette generator →

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