#C0A239#C0A239

#C0A239 is a light, vivid yellow. Relative luminance 0.373; OKLCH L 72.0% C 0.126 H 92.8°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#C0A239
RGBrgb(192, 162, 57)
HSLhsl(47, 54%, 49%)
HSVhsv(47, 70%, 75%)
CMYKcmyk(0%, 15.6%, 70.3%, 24.7%)
CIE-LABlab(67.53, -0.32, 56.22)
CIE-LCHlch(67.53, 56.22, 90.33°)
OKLaboklab(72.01% -0.0061 0.1256)
OKLCHoklch(72.01% 0.126 92.8)
XYZxyz(35.3989, 37.3445, 9.2138)
Luminance0.3734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0A239 #3957C0
analogous
#C05F39 #C0A239 #9BC039
triadic
#C0A239 #39C0A2 #A239C0
tetradic
#C0A239 #39C05F #3957C0 #C0399B
square
#C0A239 #39C05F #3957C0 #C0399B
split-complementary
#C0A239 #399BC0 #5F39C0
monochromatic
#62521D #917A2B #C0A239 #D1B965 #DFCF94

Accessibility & contrast

On white

2.48
#C0A239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#C0A239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0A239
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0A239#FFFFFF#000000##000000
##C0A2391.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F2A
Deuteranopia (green-blind)
#BBA83E
Tritanopia (blue-blind)
#CF958D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c0a239;
/* rgb */ color: rgb(192, 162, 57);
/* oklch */ color: oklch(72.0% 0.126 92.8);
Tailwind
colors: {
  custom: {
    50: '#d7bd75',
    500: '#c0a239',
    950: '#000000',
  },
}
SCSS
$custom: #c0a239;
$custom-light: #d7bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#c0a239",
  "rgb": {
    "r": 192,
    "g": 162,
    "b": 57
  },
  "hsl": {
    "h": 46.667,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.7201,
    "c": 0.12578,
    "h": 92.8
  },
  "luminance": 0.37343
}

Semantic roles & 50–950 ramp

primary
#C0A239
secondary
#8A99CB
accent
#6BDE4A
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C0A239

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

Preview Lab → · Contrast checker → · Palette generator →

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