#C0A338#C0A338

#C0A338 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 72.2% C 0.127 H 93.5°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#C0A338
RGBrgb(192, 163, 56)
HSLhsl(47, 55%, 49%)
HSVhsv(47, 71%, 75%)
CMYKcmyk(0%, 15.1%, 70.8%, 24.7%)
CIE-LABlab(67.79, -0.91, 56.89)
CIE-LCHlch(67.79, 56.89, 90.92°)
OKLaboklab(72.21% -0.0079 0.1269)
OKLCHoklch(72.21% 0.127 93.5)
XYZxyz(35.5511, 37.6884, 9.1427)
Luminance0.3769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0A338 #3855C0
analogous
#C05F38 #C0A338 #99C038
triadic
#C0A338 #38C0A3 #A338C0
tetradic
#C0A338 #38C05F #3855C0 #C03899
square
#C0A338 #38C05F #3855C0 #C03899
split-complementary
#C0A338 #3899C0 #5F38C0
monochromatic
#61531C #917B2A #C0A338 #D2BA64 #DFCF93

Accessibility & contrast

On white

2.46
#C0A338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#C0A338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0A338
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0A338#FFFFFF#000000##000000
##C0A3381.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A029
Deuteranopia (green-blind)
#BBA93E
Tritanopia (blue-blind)
#CF968D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c0a338;
/* rgb */ color: rgb(192, 163, 56);
/* oklch */ color: oklch(72.2% 0.127 93.5);
Tailwind
colors: {
  custom: {
    50: '#d7bd75',
    500: '#c0a338',
    950: '#000000',
  },
}
SCSS
$custom: #c0a338;
$custom-light: #d7bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#c0a338",
  "rgb": {
    "r": 192,
    "g": 163,
    "b": 56
  },
  "hsl": {
    "h": 47.206,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.72209,
    "c": 0.1271,
    "h": 93.5
  },
  "luminance": 0.37686
}

Semantic roles & 50–950 ramp

primary
#C0A338
secondary
#8997CB
accent
#69DE4A
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C0A338

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

Preview Lab → · Contrast checker → · Palette generator →

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