#C8B137#C8B137

#C8B137 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.9% C 0.138 H 98.2°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#C8B137
RGBrgb(200, 177, 55)
HSLhsl(50, 57%, 50%)
HSVhsv(50, 73%, 78%)
CMYKcmyk(0%, 11.5%, 72.5%, 21.6%)
CIE-LABlab(72.23, -4.88, 61.92)
CIE-LCHlch(72.23, 62.11, 94.50°)
OKLaboklab(75.9% -0.0197 0.137)
OKLCHoklch(75.9% 0.138 98.2)
XYZxyz(40.2331, 44.0015, 9.9876)
Luminance0.4400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B137 #374EC8
analogous
#C86937 #C8B137 #96C837
triadic
#C8B137 #37C8B1 #B137C8
tetradic
#C8B137 #37C869 #374EC8 #C83796
square
#C8B137 #37C869 #374EC8 #C83796
split-complementary
#C8B137 #3796C8 #6937C8
monochromatic
#685C1D #98872A #C8B137 #D5C467 #E2D697

Accessibility & contrast

On white

2.14
#C8B137 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#C8B137 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B137
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B137#FFFFFF#000000##000000
##C8B1371.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8b137;
/* rgb */ color: rgb(200, 177, 55);
/* oklch */ color: oklch(75.9% 0.138 98.2);
Tailwind
colors: {
  custom: {
    50: '#ddc776',
    500: '#c8b137',
    950: '#000000',
  },
}
SCSS
$custom: #c8b137;
$custom-light: #ddc776;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b137",
  "rgb": {
    "r": 200,
    "g": 177,
    "b": 55
  },
  "hsl": {
    "h": 50.483,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.75897,
    "c": 0.13844,
    "h": 98.2
  },
  "luminance": 0.43999
}

Semantic roles & 50–950 ramp

primary
#C8B137
secondary
#8D97CE
accent
#60E048
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C8B137

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

Preview Lab → · Contrast checker → · Palette generator →

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