#C8A742#C8A742

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

Color values

HEX#C8A742
RGBrgb(200, 167, 66)
HSLhsl(45, 55%, 52%)
HSVhsv(45, 67%, 78%)
CMYKcmyk(0%, 16.5%, 67%, 21.6%)
CIE-LABlab(69.69, 0.99, 54.88)
CIE-LCHlch(69.69, 54.89, 88.97°)
OKLaboklab(73.92% -0.0017 0.1241)
OKLCHoklch(73.92% 0.124 90.8)
XYZxyz(38.6235, 40.3124, 10.8999)
Luminance0.4031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A742 #4263C8
analogous
#C86442 #C8A742 #A6C842
triadic
#C8A742 #42C8A7 #A742C8
tetradic
#C8A742 #42C864 #4263C8 #C842A6
square
#C8A742 #42C864 #4263C8 #C842A6
split-complementary
#C8A742 #42A6C8 #6442C8
monochromatic
#6F5C20 #9F832E #C8A742 #D6BD71 #E4D3A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8A742#FFFFFF#000000##000000
##C8A7421.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)
#B9A536
Deuteranopia (green-blind)
#C1AE47
Tritanopia (blue-blind)
#D89A92
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c8a742;
/* rgb */ color: rgb(200, 167, 66);
/* oklch */ color: oklch(73.9% 0.124 90.8);
Tailwind
colors: {
  custom: {
    50: '#dcc07b',
    500: '#c8a742',
    950: '#000000',
  },
}
SCSS
$custom: #c8a742;
$custom-light: #dcc07b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a742",
  "rgb": {
    "r": 200,
    "g": 167,
    "b": 66
  },
  "hsl": {
    "h": 45.224,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.73916,
    "c": 0.12407,
    "h": 90.8
  },
  "luminance": 0.4031
}

Semantic roles & 50–950 ramp

primary
#C8A742
secondary
#96A4D0
accent
#6EDE4A
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #C8A742

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

Preview Lab → · Contrast checker → · Palette generator →

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