#C8B762#C8B762

#C8B762 is a light, moderate yellow. Relative luminance 0.470; OKLCH L 77.6% C 0.108 H 98.3°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#C8B762
RGBrgb(200, 183, 98)
HSLhsl(50, 48%, 58%)
HSVhsv(50, 51%, 78%)
CMYKcmyk(0%, 8.5%, 51%, 21.6%)
CIE-LABlab(74.21, -5.12, 45.02)
CIE-LCHlch(74.21, 45.31, 96.48°)
OKLaboklab(77.59% -0.0155 0.1068)
OKLCHoklch(77.59% 0.108 98.3)
XYZxyz(42.9589, 47.0298, 18.3677)
Luminance0.4703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B762 #6273C8
analogous
#C88462 #C8B762 #A6C862
triadic
#C8B762 #62C8B7 #B762C8
tetradic
#C8B762 #62C884 #6273C8 #C862A6
square
#C8B762 #62C884 #6273C8 #C862A6
split-complementary
#C8B762 #62A6C8 #8462C8
monochromatic
#82742E #AF9C3D #C8B762 #D8CC8F #E8E1BD

Accessibility & contrast

On white

2.02
#C8B762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#C8B762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B762
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B762#FFFFFF#000000##000000
##C8B7621.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B35B
Deuteranopia (green-blind)
#CAB966
Tritanopia (blue-blind)
#D5ACA3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c8b762;
/* rgb */ color: rgb(200, 183, 98);
/* oklch */ color: oklch(77.6% 0.108 98.3);
Tailwind
colors: {
  custom: {
    50: '#dbcc91',
    500: '#c8b762',
    950: '#000000',
  },
}
SCSS
$custom: #c8b762;
$custom-light: #dbcc91;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b762",
  "rgb": {
    "r": 200,
    "g": 183,
    "b": 98
  },
  "hsl": {
    "h": 50,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.77592,
    "c": 0.10794,
    "h": 98.3
  },
  "luminance": 0.47028
}

Semantic roles & 50–950 ramp

primary
#C8B762
secondary
#AFB5D7
accent
#67D850
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #C8B762

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

Preview Lab → · Contrast checker → · Palette generator →

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