#C6A233#C6A233

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

Color values

HEX#C6A233
RGBrgb(198, 162, 51)
HSLhsl(45, 59%, 49%)
HSVhsv(45, 74%, 78%)
CMYKcmyk(0%, 18.2%, 74.2%, 22.4%)
CIE-LABlab(68.09, 2.02, 59.35)
CIE-LCHlch(68.09, 59.38, 88.05°)
OKLaboklab(72.57% -0.0004 0.1309)
OKLCHoklch(72.57% 0.131 90.2)
XYZxyz(36.8087, 38.0878, 8.5443)
Luminance0.3809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6A233 #3357C6
analogous
#C65933 #C6A233 #A1C633
triadic
#C6A233 #33C6A2 #A233C6
tetradic
#C6A233 #33C659 #3357C6 #C633A1
square
#C6A233 #33C659 #3357C6 #C633A1
split-complementary
#C6A233 #33A1C6 #5933C6
monochromatic
#65521A #957A26 #C6A233 #D6B960 #E3CF91

Accessibility & contrast

On white

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

On black

8.62
#C6A233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6A233
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6A233#FFFFFF#000000##000000
##C6A2331.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c6a233;
/* rgb */ color: rgb(198, 162, 51);
/* oklch */ color: oklch(72.6% 0.131 90.2);
Tailwind
colors: {
  custom: {
    50: '#dcbd72',
    500: '#c6a233',
    950: '#000000',
  },
}
SCSS
$custom: #c6a233;
$custom-light: #dcbd72;
$custom-dark: #000000;
JSON
{
  "hex": "#c6a233",
  "rgb": {
    "r": 198,
    "g": 162,
    "b": 51
  },
  "hsl": {
    "h": 45.306,
    "s": 59.036,
    "l": 48.824
  },
  "oklch": {
    "l": 0.72568,
    "c": 0.13089,
    "h": 90.2
  },
  "luminance": 0.38085
}

Semantic roles & 50–950 ramp

primary
#C6A233
secondary
#8799CD
accent
#6CE246
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C6A233

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

Preview Lab → · Contrast checker → · Palette generator →

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