#C8A948#C8A948

#C8A948 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 74.4% C 0.121 H 91.4°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#C8A948
RGBrgb(200, 169, 72)
HSLhsl(45, 54%, 53%)
HSVhsv(45, 64%, 78%)
CMYKcmyk(0%, 15.5%, 64%, 21.6%)
CIE-LABlab(70.26, 0.29, 52.83)
CIE-LCHlch(70.26, 52.83, 89.69°)
OKLaboklab(74.38% -0.003 0.1207)
OKLCHoklch(74.38% 0.121 91.4)
XYZxyz(39.1790, 41.1253, 12.0040)
Luminance0.4112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A948 #4867C8
analogous
#C86948 #C8A948 #A7C848
triadic
#C8A948 #48C8A9 #A948C8
tetradic
#C8A948 #48C869 #4867C8 #C848A7
square
#C8A948 #48C869 #4867C8 #C848A7
split-complementary
#C8A948 #48A7C8 #6948C8
monochromatic
#736023 #A28731 #C8A948 #D6BF77 #E4D5A6

Accessibility & contrast

On white

2.28
#C8A948 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#C8A948 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A948
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A948#FFFFFF#000000##000000
##C8A9481.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA73D
Deuteranopia (green-blind)
#C2B04C
Tritanopia (blue-blind)
#D89C94
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c8a948;
/* rgb */ color: rgb(200, 169, 72);
/* oklch */ color: oklch(74.4% 0.121 91.4);
Tailwind
colors: {
  custom: {
    50: '#dcc27f',
    500: '#c8a948',
    950: '#000000',
  },
}
SCSS
$custom: #c8a948;
$custom-light: #dcc27f;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a948",
  "rgb": {
    "r": 200,
    "g": 169,
    "b": 72
  },
  "hsl": {
    "h": 45.469,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.74384,
    "c": 0.12069,
    "h": 91.4
  },
  "luminance": 0.41123
}

Semantic roles & 50–950 ramp

primary
#C8A948
secondary
#9AA8D1
accent
#6EDD4B
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C8A948

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

Preview Lab → · Contrast checker → · Palette generator →

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