#C8AA3D#C8AA3D

#C8AA3D is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.5% C 0.130 H 93.4°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#C8AA3D
RGBrgb(200, 170, 61)
HSLhsl(47, 56%, 51%)
HSVhsv(47, 70%, 78%)
CMYKcmyk(0%, 15%, 69.5%, 21.6%)
CIE-LABlab(70.43, -0.89, 57.77)
CIE-LCHlch(70.43, 57.78, 90.88°)
OKLaboklab(74.49% -0.0077 0.1293)
OKLCHoklch(74.49% 0.13 93.4)
XYZxyz(39.0385, 41.3679, 10.3425)
Luminance0.4137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AA3D #3D5BC8
analogous
#C8643D #C8AA3D #A0C83D
triadic
#C8AA3D #3DC8AA #AA3DC8
tetradic
#C8AA3D #3DC864 #3D5BC8 #C83DA0
square
#C8AA3D #3DC864 #3D5BC8 #C83DA0
split-complementary
#C8AA3D #3DA0C8 #643DC8
monochromatic
#6C5B1F #9C842C #C8AA3D #D6BF6D #E3D49C

Accessibility & contrast

On white

2.26
#C8AA3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#C8AA3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AA3D
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AA3D#FFFFFF#000000##000000
##C8AA3D1.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA72E
Deuteranopia (green-blind)
#C3B043
Tritanopia (blue-blind)
#D89D94
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c8aa3d;
/* rgb */ color: rgb(200, 170, 61);
/* oklch */ color: oklch(74.5% 0.130 93.4);
Tailwind
colors: {
  custom: {
    50: '#dcc279',
    500: '#c8aa3d',
    950: '#000000',
  },
}
SCSS
$custom: #c8aa3d;
$custom-light: #dcc279;
$custom-dark: #000000;
JSON
{
  "hex": "#c8aa3d",
  "rgb": {
    "r": 200,
    "g": 170,
    "b": 61
  },
  "hsl": {
    "h": 47.05,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.74488,
    "c": 0.12956,
    "h": 93.4
  },
  "luminance": 0.41366
}

Semantic roles & 50–950 ramp

primary
#C8AA3D
secondary
#929FCF
accent
#69DF49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #C8AA3D

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

Preview Lab → · Contrast checker → · Palette generator →

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