#C8B262#C8B262

#C8B262 is a light, moderate yellow. Relative luminance 0.450; OKLCH L 76.6% C 0.104 H 94.4°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#C8B262
RGBrgb(200, 178, 98)
HSLhsl(47, 48%, 58%)
HSVhsv(47, 51%, 78%)
CMYKcmyk(0%, 11%, 51%, 21.6%)
CIE-LABlab(72.89, -2.49, 43.44)
CIE-LCHlch(72.89, 43.51, 93.28°)
OKLaboklab(76.55% -0.0079 0.1033)
OKLCHoklch(76.55% 0.104 94.4)
XYZxyz(41.9458, 45.0038, 18.0300)
Luminance0.4500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B262 #6278C8
analogous
#C87F62 #C8B262 #ABC862
triadic
#C8B262 #62C8B2 #B262C8
tetradic
#C8B262 #62C87F #6278C8 #C862AB
square
#C8B262 #62C87F #6278C8 #C862AB
split-complementary
#C8B262 #62ABC8 #7F62C8
monochromatic
#82702E #AF973D #C8B262 #D8C88F #E8DEBD

Accessibility & contrast

On white

2.10
#C8B262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#C8B262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B262
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B262#FFFFFF#000000##000000
##C8B2621.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AF5B
Deuteranopia (green-blind)
#C6B665
Tritanopia (blue-blind)
#D6A79F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8b262;
/* rgb */ color: rgb(200, 178, 98);
/* oklch */ color: oklch(76.6% 0.104 94.4);
Tailwind
colors: {
  custom: {
    50: '#dbc890',
    500: '#c8b262',
    950: '#000000',
  },
}
SCSS
$custom: #c8b262;
$custom-light: #dbc890;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b262",
  "rgb": {
    "r": 200,
    "g": 178,
    "b": 98
  },
  "hsl": {
    "h": 47.059,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.76552,
    "c": 0.10363,
    "h": 94.4
  },
  "luminance": 0.45002
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8B262

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

Preview Lab → · Contrast checker → · Palette generator →

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