#C6A231#C6A231

#C6A231 is a light, vivid yellow. Relative luminance 0.381; OKLCH L 72.6% C 0.132 H 90.4°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#C6A231
RGBrgb(198, 162, 49)
HSLhsl(46, 60%, 48%)
HSVhsv(46, 75%, 78%)
CMYKcmyk(0%, 18.2%, 75.3%, 22.4%)
CIE-LABlab(68.07, 1.93, 60.09)
CIE-LCHlch(68.07, 60.12, 88.16°)
OKLaboklab(72.55% -0.0009 0.1321)
OKLCHoklch(72.55% 0.132 90.4)
XYZxyz(36.7655, 38.0705, 8.3170)
Luminance0.3807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6A231 #3155C6
analogous
#C65731 #C6A231 #9FC631
triadic
#C6A231 #31C6A2 #A231C6
tetradic
#C6A231 #31C657 #3155C6 #C6319F
square
#C6A231 #31C657 #3155C6 #C6319F
split-complementary
#C6A231 #319FC6 #5731C6
monochromatic
#645219 #957A25 #C6A231 #D7BA5D #E3CF8E

Accessibility & contrast

On white

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

On black

8.61
#C6A231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6A231
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6A231#FFFFFF#000000##000000
##C6A2311.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A01E
Deuteranopia (green-blind)
#BDAA37
Tritanopia (blue-blind)
#D6948C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c6a231;
/* rgb */ color: rgb(198, 162, 49);
/* oklch */ color: oklch(72.6% 0.132 90.4);
Tailwind
colors: {
  custom: {
    50: '#dcbd71',
    500: '#c6a231',
    950: '#000000',
  },
}
SCSS
$custom: #c6a231;
$custom-light: #dcbd71;
$custom-dark: #000000;
JSON
{
  "hex": "#c6a231",
  "rgb": {
    "r": 198,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 45.503,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.72554,
    "c": 0.13207,
    "h": 90.4
  },
  "luminance": 0.38068
}

Semantic roles & 50–950 ramp

primary
#C6A231
secondary
#8597CE
accent
#6BE344
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C6A231

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

Preview Lab → · Contrast checker → · Palette generator →

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