#C8B139#C8B139

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

Color values

HEX#C8B139
RGBrgb(200, 177, 57)
HSLhsl(50, 57%, 50%)
HSVhsv(50, 72%, 78%)
CMYKcmyk(0%, 11.5%, 71.5%, 21.6%)
CIE-LABlab(72.24, -4.78, 61.18)
CIE-LCHlch(72.24, 61.36, 94.47°)
OKLaboklab(75.91% -0.0192 0.1358)
OKLCHoklch(75.91% 0.137 98.1)
XYZxyz(40.2820, 44.0211, 10.2452)
Luminance0.4402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B139 #3950C8
analogous
#C86A39 #C8B139 #97C839
triadic
#C8B139 #39C8B1 #B139C8
tetradic
#C8B139 #39C86A #3950C8 #C83997
square
#C8B139 #39C86A #3950C8 #C83997
split-complementary
#C8B139 #3997C8 #6A39C8
monochromatic
#695D1D #99872B #C8B139 #D5C469 #E3D799

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8B139#FFFFFF#000000##000000
##C8B1391.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)
#C2AD26
Deuteranopia (green-blind)
#C9B540
Tritanopia (blue-blind)
#D8A499
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c8b139;
/* rgb */ color: rgb(200, 177, 57);
/* oklch */ color: oklch(75.9% 0.137 98.1);
Tailwind
colors: {
  custom: {
    50: '#dcc777',
    500: '#c8b139',
    950: '#000000',
  },
}
SCSS
$custom: #c8b139;
$custom-light: #dcc777;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b139",
  "rgb": {
    "r": 200,
    "g": 177,
    "b": 57
  },
  "hsl": {
    "h": 50.35,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.75911,
    "c": 0.13718,
    "h": 98.1
  },
  "luminance": 0.44019
}

Semantic roles & 50–950 ramp

primary
#C8B139
secondary
#8F99CE
accent
#60E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #C8B139

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

Preview Lab → · Contrast checker → · Palette generator →

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