#C8B237#C8B237

#C8B237 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.1% C 0.139 H 98.8°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#C8B237
RGBrgb(200, 178, 55)
HSLhsl(51, 57%, 50%)
HSVhsv(51, 73%, 78%)
CMYKcmyk(0%, 11%, 72.5%, 21.6%)
CIE-LABlab(72.49, -5.40, 62.18)
CIE-LCHlch(72.49, 62.41, 94.97°)
OKLaboklab(76.11% -0.0212 0.1376)
OKLCHoklch(76.11% 0.139 98.8)
XYZxyz(40.4314, 44.3980, 10.0537)
Luminance0.4440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B237 #374DC8
analogous
#C86A37 #C8B237 #95C837
triadic
#C8B237 #37C8B2 #B237C8
tetradic
#C8B237 #37C86A #374DC8 #C83795
square
#C8B237 #37C86A #374DC8 #C83795
split-complementary
#C8B237 #3795C8 #6A37C8
monochromatic
#685D1D #98872A #C8B237 #D5C467 #E2D797

Accessibility & contrast

On white

2.13
#C8B237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#C8B237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B237
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B237#FFFFFF#000000##000000
##C8B2371.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD23
Deuteranopia (green-blind)
#C9B53F
Tritanopia (blue-blind)
#D8A59A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c8b237;
/* rgb */ color: rgb(200, 178, 55);
/* oklch */ color: oklch(76.1% 0.139 98.8);
Tailwind
colors: {
  custom: {
    50: '#ddc876',
    500: '#c8b237',
    950: '#000000',
  },
}
SCSS
$custom: #c8b237;
$custom-light: #ddc876;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b237",
  "rgb": {
    "r": 200,
    "g": 178,
    "b": 55
  },
  "hsl": {
    "h": 50.897,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.76106,
    "c": 0.13921,
    "h": 98.8
  },
  "luminance": 0.44396
}

Semantic roles & 50–950 ramp

primary
#C8B237
secondary
#8D97CE
accent
#5FE048
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C8B237

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

Preview Lab → · Contrast checker → · Palette generator →

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