#C8A848#C8A848

#C8A848 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 74.2% C 0.120 H 90.7°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#C8A848
RGBrgb(200, 168, 72)
HSLhsl(45, 54%, 53%)
HSVhsv(45, 64%, 78%)
CMYKcmyk(0%, 16%, 64%, 21.6%)
CIE-LABlab(70.00, 0.82, 52.55)
CIE-LCHlch(70.00, 52.55, 89.11°)
OKLaboklab(74.18% -0.0014 0.1201)
OKLCHoklch(74.18% 0.12 90.7)
XYZxyz(38.9937, 40.7547, 11.9422)
Luminance0.4075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A848 #4868C8
analogous
#C86848 #C8A848 #A8C848
triadic
#C8A848 #48C8A8 #A848C8
tetradic
#C8A848 #48C868 #4868C8 #C848A8
square
#C8A848 #48C868 #4868C8 #C848A8
split-complementary
#C8A848 #48A8C8 #6848C8
monochromatic
#735F23 #A28631 #C8A848 #D6BE77 #E4D5A6

Accessibility & contrast

On white

2.29
#C8A848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#C8A848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A848
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A848#FFFFFF#000000##000000
##C8A8481.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A63D
Deuteranopia (green-blind)
#C1AF4C
Tritanopia (blue-blind)
#D89B93
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c8a848;
/* rgb */ color: rgb(200, 168, 72);
/* oklch */ color: oklch(74.2% 0.120 90.7);
Tailwind
colors: {
  custom: {
    50: '#dcc17f',
    500: '#c8a848',
    950: '#000000',
  },
}
SCSS
$custom: #c8a848;
$custom-light: #dcc17f;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a848",
  "rgb": {
    "r": 200,
    "g": 168,
    "b": 72
  },
  "hsl": {
    "h": 45,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.74179,
    "c": 0.12006,
    "h": 90.7
  },
  "luminance": 0.40753
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8A848

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

Preview Lab → · Contrast checker → · Palette generator →

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