#C8B539#C8B539

#C8B539 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.8% C 0.140 H 100.3°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#C8B539
RGBrgb(200, 181, 57)
HSLhsl(52, 57%, 50%)
HSVhsv(52, 72%, 78%)
CMYKcmyk(0%, 9.5%, 71.5%, 21.6%)
CIE-LABlab(73.30, -6.87, 62.22)
CIE-LCHlch(73.30, 62.59, 96.30°)
OKLaboklab(76.75% -0.0252 0.138)
OKLCHoklch(76.75% 0.14 100.3)
XYZxyz(41.0837, 45.6244, 10.5125)
Luminance0.4562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B539 #394CC8
analogous
#C86D39 #C8B539 #93C839
triadic
#C8B539 #39C8B5 #B539C8
tetradic
#C8B539 #39C86D #394CC8 #C83993
square
#C8B539 #39C86D #394CC8 #C83993
split-complementary
#C8B539 #3993C8 #6D39C8
monochromatic
#695F1D #998B2B #C8B539 #D5C769 #E3D999

Accessibility & contrast

On white

2.07
#C8B539 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#C8B539 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B539
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B539#FFFFFF#000000##000000
##C8B5391.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B025
Deuteranopia (green-blind)
#CCB741
Tritanopia (blue-blind)
#D7A89C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c8b539;
/* rgb */ color: rgb(200, 181, 57);
/* oklch */ color: oklch(76.8% 0.140 100.3);
Tailwind
colors: {
  custom: {
    50: '#dcca77',
    500: '#c8b539',
    950: '#000000',
  },
}
SCSS
$custom: #c8b539;
$custom-light: #dcca77;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b539",
  "rgb": {
    "r": 200,
    "g": 181,
    "b": 57
  },
  "hsl": {
    "h": 52.028,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.76751,
    "c": 0.1403,
    "h": 100.3
  },
  "luminance": 0.45623
}

Semantic roles & 50–950 ramp

primary
#C8B539
secondary
#8F97CE
accent
#5CE048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #C8B539

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

Preview Lab → · Contrast checker → · Palette generator →

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