#C8AA3F#C8AA3F

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

Color values

HEX#C8AA3F
RGBrgb(200, 170, 63)
HSLhsl(47, 55%, 52%)
HSVhsv(47, 69%, 78%)
CMYKcmyk(0%, 15%, 68.5%, 21.6%)
CIE-LABlab(70.45, -0.78, 56.95)
CIE-LCHlch(70.45, 56.96, 90.78°)
OKLaboklab(74.51% -0.0071 0.128)
OKLCHoklch(74.51% 0.128 93.2)
XYZxyz(39.0933, 41.3899, 10.6316)
Luminance0.4139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AA3F #3F5DC8
analogous
#C8663F #C8AA3F #A2C83F
triadic
#C8AA3F #3FC8AA #AA3FC8
tetradic
#C8AA3F #3FC866 #3F5DC8 #C83FA2
square
#C8AA3F #3FC866 #3F5DC8 #C83FA2
split-complementary
#C8AA3F #3FA2C8 #663FC8
monochromatic
#6D5C1F #9D842D #C8AA3F #D6BF6F #E3D49E

Accessibility & contrast

On white

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

On black

9.28
#C8AA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AA3F
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AA3F#FFFFFF#000000##000000
##C8AA3F1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8aa3f;
/* rgb */ color: rgb(200, 170, 63);
/* oklch */ color: oklch(74.5% 0.128 93.2);
Tailwind
colors: {
  custom: {
    50: '#dcc27a',
    500: '#c8aa3f',
    950: '#000000',
  },
}
SCSS
$custom: #c8aa3f;
$custom-light: #dcc27a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8aa3f",
  "rgb": {
    "r": 200,
    "g": 170,
    "b": 63
  },
  "hsl": {
    "h": 46.861,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.74505,
    "c": 0.12815,
    "h": 93.2
  },
  "luminance": 0.41388
}

Semantic roles & 50–950 ramp

primary
#C8AA3F
secondary
#93A0D0
accent
#6ADF49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #C8AA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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