#C6A230#C6A230

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

Color values

HEX#C6A230
RGBrgb(198, 162, 48)
HSLhsl(46, 61%, 48%)
HSVhsv(46, 76%, 78%)
CMYKcmyk(0%, 18.2%, 75.8%, 22.4%)
CIE-LABlab(68.07, 1.89, 60.46)
CIE-LCHlch(68.07, 60.49, 88.21°)
OKLaboklab(72.55% -0.0011 0.1326)
OKLCHoklch(72.55% 0.133 90.5)
XYZxyz(36.7447, 38.0621, 8.2071)
Luminance0.3806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6A230 #3054C6
analogous
#C65730 #C6A230 #9FC630
triadic
#C6A230 #30C6A2 #A230C6
tetradic
#C6A230 #30C657 #3054C6 #C6309F
square
#C6A230 #30C657 #3054C6 #C6309F
split-complementary
#C6A230 #309FC6 #5730C6
monochromatic
#635118 #957A24 #C6A230 #D7BA5C #E3CF8D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C6A230#FFFFFF#000000##000000
##C6A2301.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)
#B5A01C
Deuteranopia (green-blind)
#BDAA36
Tritanopia (blue-blind)
#D7948C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c6a230;
/* rgb */ color: rgb(198, 162, 48);
/* oklch */ color: oklch(72.5% 0.133 90.5);
Tailwind
colors: {
  custom: {
    50: '#dcbd71',
    500: '#c6a230',
    950: '#000000',
  },
}
SCSS
$custom: #c6a230;
$custom-light: #dcbd71;
$custom-dark: #000000;
JSON
{
  "hex": "#c6a230",
  "rgb": {
    "r": 198,
    "g": 162,
    "b": 48
  },
  "hsl": {
    "h": 45.6,
    "s": 60.976,
    "l": 48.235
  },
  "oklch": {
    "l": 0.72547,
    "c": 0.13264,
    "h": 90.5
  },
  "luminance": 0.3806
}

Semantic roles & 50–950 ramp

primary
#C6A230
secondary
#8496CE
accent
#6AE444
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C6A230

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

Preview Lab → · Contrast checker → · Palette generator →

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