#C8A93C#C8A93C

#C8A93C is a light, vivid yellow. Relative luminance 0.410; OKLCH L 74.3% C 0.130 H 92.8°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#C8A93C
RGBrgb(200, 169, 60)
HSLhsl(47, 56%, 51%)
HSVhsv(47, 70%, 78%)
CMYKcmyk(0%, 15.5%, 70%, 21.6%)
CIE-LABlab(70.16, -0.41, 57.91)
CIE-LCHlch(70.16, 57.91, 90.41°)
OKLaboklab(74.27% -0.0064 0.1295)
OKLCHoklch(74.27% 0.13 92.8)
XYZxyz(38.8250, 40.9837, 10.1398)
Luminance0.4098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A93C #3C5BC8
analogous
#C8633C #C8A93C #A1C83C
triadic
#C8A93C #3CC8A9 #A93CC8
tetradic
#C8A93C #3CC863 #3C5BC8 #C83CA1
square
#C8A93C #3CC863 #3C5BC8 #C83CA1
split-complementary
#C8A93C #3CA1C8 #633CC8
monochromatic
#6B5A1E #9B822C #C8A93C #D5BE6C #E3D39B

Accessibility & contrast

On white

2.28
#C8A93C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#C8A93C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A93C
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A93C#FFFFFF#000000##000000
##C8A93C1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA62D
Deuteranopia (green-blind)
#C3AF42
Tritanopia (blue-blind)
#D89C93
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c8a93c;
/* rgb */ color: rgb(200, 169, 60);
/* oklch */ color: oklch(74.3% 0.130 92.8);
Tailwind
colors: {
  custom: {
    50: '#dcc278',
    500: '#c8a93c',
    950: '#000000',
  },
}
SCSS
$custom: #c8a93c;
$custom-light: #dcc278;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a93c",
  "rgb": {
    "r": 200,
    "g": 169,
    "b": 60
  },
  "hsl": {
    "h": 46.714,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.74274,
    "c": 0.12961,
    "h": 92.8
  },
  "luminance": 0.40982
}

Semantic roles & 50–950 ramp

primary
#C8A93C
secondary
#919FCF
accent
#6ADF49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #C8A93C

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

Preview Lab → · Contrast checker → · Palette generator →

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