#C8A935#C8A935

#C8A935 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 74.2% C 0.134 H 93.5°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#C8A935
RGBrgb(200, 169, 53)
HSLhsl(47, 58%, 50%)
HSVhsv(47, 74%, 78%)
CMYKcmyk(0%, 15.5%, 73.5%, 21.6%)
CIE-LABlab(70.12, -0.75, 60.62)
CIE-LCHlch(70.12, 60.63, 90.71°)
OKLaboklab(74.22% -0.0082 0.1339)
OKLCHoklch(74.22% 0.134 93.5)
XYZxyz(38.6521, 40.9146, 9.2289)
Luminance0.4091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A935 #3554C8
analogous
#C86035 #C8A935 #9EC835
triadic
#C8A935 #35C8A9 #A935C8
tetradic
#C8A935 #35C860 #3554C8 #C8359E
square
#C8A935 #35C860 #3554C8 #C8359E
split-complementary
#C8A935 #359EC8 #6035C8
monochromatic
#67571B #988028 #C8A935 #D6BE64 #E3D295

Accessibility & contrast

On white

2.29
#C8A935 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#C8A935 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A935
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A935#FFFFFF#000000##000000
##C8A9351.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA622
Deuteranopia (green-blind)
#C3AF3C
Tritanopia (blue-blind)
#D89B92
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c8a935;
/* rgb */ color: rgb(200, 169, 53);
/* oklch */ color: oklch(74.2% 0.134 93.5);
Tailwind
colors: {
  custom: {
    50: '#ddc274',
    500: '#c8a935',
    950: '#000000',
  },
}
SCSS
$custom: #c8a935;
$custom-light: #ddc274;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a935",
  "rgb": {
    "r": 200,
    "g": 169,
    "b": 53
  },
  "hsl": {
    "h": 47.347,
    "s": 58.103,
    "l": 49.608
  },
  "oklch": {
    "l": 0.7422,
    "c": 0.13415,
    "h": 93.5
  },
  "luminance": 0.40912
}

Semantic roles & 50–950 ramp

primary
#C8A935
secondary
#8B99CE
accent
#67E146
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C8A935

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

Preview Lab → · Contrast checker → · Palette generator →

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