#C8AA3E#C8AA3E

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

Color values

HEX#C8AA3E
RGBrgb(200, 170, 62)
HSLhsl(47, 56%, 51%)
HSVhsv(47, 69%, 78%)
CMYKcmyk(0%, 15%, 69%, 21.6%)
CIE-LABlab(70.44, -0.83, 57.36)
CIE-LCHlch(70.44, 57.37, 90.83°)
OKLaboklab(74.5% -0.0074 0.1286)
OKLCHoklch(74.5% 0.129 93.3)
XYZxyz(39.0656, 41.3788, 10.4857)
Luminance0.4138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AA3E #3E5CC8
analogous
#C8653E #C8AA3E #A1C83E
triadic
#C8AA3E #3EC8AA #AA3EC8
tetradic
#C8AA3E #3EC865 #3E5CC8 #C83EA1
square
#C8AA3E #3EC865 #3E5CC8 #C83EA1
split-complementary
#C8AA3E #3EA1C8 #653EC8
monochromatic
#6D5C1F #9C842D #C8AA3E #D6BF6E #E3D49D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8AA3E#FFFFFF#000000##000000
##C8AA3E1.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)
#BCA730
Deuteranopia (green-blind)
#C3B044
Tritanopia (blue-blind)
#D89D94
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c8aa3e;
/* rgb */ color: rgb(200, 170, 62);
/* oklch */ color: oklch(74.5% 0.129 93.3);
Tailwind
colors: {
  custom: {
    50: '#dcc279',
    500: '#c8aa3e',
    950: '#000000',
  },
}
SCSS
$custom: #c8aa3e;
$custom-light: #dcc279;
$custom-dark: #000000;
JSON
{
  "hex": "#c8aa3e",
  "rgb": {
    "r": 200,
    "g": 170,
    "b": 62
  },
  "hsl": {
    "h": 46.957,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.74497,
    "c": 0.12886,
    "h": 93.3
  },
  "luminance": 0.41377
}

Semantic roles & 50–950 ramp

primary
#C8AA3E
secondary
#92A0CF
accent
#69DF49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #C8AA3E

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

Preview Lab → · Contrast checker → · Palette generator →

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