#C6A22A#C6A22A

#C6A22A is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.5% C 0.136 H 91.0°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#C6A22A
RGBrgb(198, 162, 42)
HSLhsl(46, 65%, 47%)
HSVhsv(46, 79%, 78%)
CMYKcmyk(0%, 18.2%, 78.8%, 22.4%)
CIE-LABlab(68.03, 1.65, 62.54)
CIE-LCHlch(68.03, 62.56, 88.49°)
OKLaboklab(72.51% -0.0024 0.1359)
OKLCHoklch(72.51% 0.136 91)
XYZxyz(36.6291, 38.0159, 7.5986)
Luminance0.3801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6A22A #2A4EC6
analogous
#C6542A #C6A22A #9CC62A
triadic
#C6A22A #2AC6A2 #A22AC6
tetradic
#C6A22A #2AC654 #2A4EC6 #C62A9C
square
#C6A22A #2AC654 #2A4EC6 #C62A9C
split-complementary
#C6A22A #2A9CC6 #542AC6
monochromatic
#614F15 #94791F #C6A22A #DABB53 #E5CF85

Accessibility & contrast

On white

2.44
#C6A22A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#C6A22A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6A22A
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6A22A#FFFFFF#000000##000000
##C6A22A1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A00F
Deuteranopia (green-blind)
#BEAA31
Tritanopia (blue-blind)
#D7948B
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c6a22a;
/* rgb */ color: rgb(198, 162, 42);
/* oklch */ color: oklch(72.5% 0.136 91.0);
Tailwind
colors: {
  custom: {
    50: '#dcbd6e',
    500: '#c6a22a',
    950: '#000000',
  },
}
SCSS
$custom: #c6a22a;
$custom-light: #dcbd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#c6a22a",
  "rgb": {
    "r": 198,
    "g": 162,
    "b": 42
  },
  "hsl": {
    "h": 46.154,
    "s": 65,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72509,
    "c": 0.13588,
    "h": 91
  },
  "luminance": 0.38014
}

Semantic roles & 50–950 ramp

primary
#C6A22A
secondary
#7D90CE
accent
#67E840
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#161208
muted
#84817B

Preview Lab

Preview with #C6A22A

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

Preview Lab → · Contrast checker → · Palette generator →

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