#C8A740#C8A740

#C8A740 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.9% C 0.126 H 91.0°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#C8A740
RGBrgb(200, 167, 64)
HSLhsl(45, 55%, 52%)
HSVhsv(45, 68%, 78%)
CMYKcmyk(0%, 16.5%, 68%, 21.6%)
CIE-LABlab(69.67, 0.87, 55.73)
CIE-LCHlch(69.67, 55.73, 89.10°)
OKLaboklab(73.9% -0.0023 0.1255)
OKLCHoklch(73.9% 0.126 91)
XYZxyz(38.5656, 40.2892, 10.5948)
Luminance0.4029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A740 #4061C8
analogous
#C86340 #C8A740 #A5C840
triadic
#C8A740 #40C8A7 #A740C8
tetradic
#C8A740 #40C863 #4061C8 #C840A5
square
#C8A740 #40C863 #4061C8 #C840A5
split-complementary
#C8A740 #40A5C8 #6340C8
monochromatic
#6E5B20 #9D822D #C8A740 #D6BD70 #E3D39F

Accessibility & contrast

On white

2.32
#C8A740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#C8A740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A740
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A740#FFFFFF#000000##000000
##C8A7401.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A533
Deuteranopia (green-blind)
#C1AE45
Tritanopia (blue-blind)
#D89A92
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c8a740;
/* rgb */ color: rgb(200, 167, 64);
/* oklch */ color: oklch(73.9% 0.126 91.0);
Tailwind
colors: {
  custom: {
    50: '#dcc07a',
    500: '#c8a740',
    950: '#000000',
  },
}
SCSS
$custom: #c8a740;
$custom-light: #dcc07a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a740",
  "rgb": {
    "r": 200,
    "g": 167,
    "b": 64
  },
  "hsl": {
    "h": 45.441,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73898,
    "c": 0.12555,
    "h": 91
  },
  "luminance": 0.40287
}

Semantic roles & 50–950 ramp

primary
#C8A740
secondary
#94A3D0
accent
#6DDF49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #C8A740

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

Preview Lab → · Contrast checker → · Palette generator →

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