#C8A846#C8A846

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

Color values

HEX#C8A846
RGBrgb(200, 168, 70)
HSLhsl(45, 54%, 53%)
HSVhsv(45, 65%, 78%)
CMYKcmyk(0%, 16%, 65%, 21.6%)
CIE-LABlab(69.99, 0.69, 53.43)
CIE-LCHlch(69.99, 53.43, 89.26°)
OKLaboklab(74.16% -0.002 0.1216)
OKLCHoklch(74.16% 0.122 91)
XYZxyz(38.9295, 40.7290, 11.6042)
Luminance0.4073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A846 #4666C8
analogous
#C86746 #C8A846 #A7C846
triadic
#C8A846 #46C8A8 #A846C8
tetradic
#C8A846 #46C867 #4666C8 #C846A7
square
#C8A846 #46C867 #4666C8 #C846A7
split-complementary
#C8A846 #46A7C8 #6746C8
monochromatic
#725E22 #A18530 #C8A846 #D6BE75 #E4D4A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8A846#FFFFFF#000000##000000
##C8A8461.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8a846;
/* rgb */ color: rgb(200, 168, 70);
/* oklch */ color: oklch(74.2% 0.122 91.0);
Tailwind
colors: {
  custom: {
    50: '#dcc17e',
    500: '#c8a846',
    950: '#000000',
  },
}
SCSS
$custom: #c8a846;
$custom-light: #dcc17e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a846",
  "rgb": {
    "r": 200,
    "g": 168,
    "b": 70
  },
  "hsl": {
    "h": 45.231,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.74159,
    "c": 0.12164,
    "h": 91
  },
  "luminance": 0.40727
}

Semantic roles & 50–950 ramp

primary
#C8A846
secondary
#99A7D1
accent
#6FDE4A
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C8A846

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

Preview Lab → · Contrast checker → · Palette generator →

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