#C8A839#C8A839

#C8A839 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 74.0% C 0.131 H 92.5°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#C8A839
RGBrgb(200, 168, 57)
HSLhsl(47, 57%, 50%)
HSVhsv(47, 72%, 78%)
CMYKcmyk(0%, 16%, 71.5%, 21.6%)
CIE-LABlab(69.88, -0.03, 58.83)
CIE-LCHlch(69.88, 58.83, 90.03°)
OKLaboklab(74.04% -0.0057 0.1309)
OKLCHoklch(74.04% 0.131 92.5)
XYZxyz(38.5626, 40.5823, 9.6721)
Luminance0.4058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A839 #3959C8
analogous
#C86039 #C8A839 #A1C839
triadic
#C8A839 #39C8A8 #A839C8
tetradic
#C8A839 #39C860 #3959C8 #C839A1
square
#C8A839 #39C860 #3959C8 #C839A1
split-complementary
#C8A839 #39A1C8 #6039C8
monochromatic
#69581D #99802B #C8A839 #D5BD69 #E3D299

Accessibility & contrast

On white

2.30
#C8A839 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#C8A839 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A839
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A839#FFFFFF#000000##000000
##C8A8391.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA529
Deuteranopia (green-blind)
#C2AF3F
Tritanopia (blue-blind)
#D89A92
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c8a839;
/* rgb */ color: rgb(200, 168, 57);
/* oklch */ color: oklch(74.0% 0.131 92.5);
Tailwind
colors: {
  custom: {
    50: '#ddc176',
    500: '#c8a839',
    950: '#000000',
  },
}
SCSS
$custom: #c8a839;
$custom-light: #ddc176;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a839",
  "rgb": {
    "r": 200,
    "g": 168,
    "b": 57
  },
  "hsl": {
    "h": 46.573,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.74044,
    "c": 0.13099,
    "h": 92.5
  },
  "luminance": 0.4058
}

Semantic roles & 50–950 ramp

primary
#C8A839
secondary
#8F9DCE
accent
#6AE048
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C8A839

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

Preview Lab → · Contrast checker → · Palette generator →

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