#C0A838#C0A838

#C0A838 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 73.3% C 0.131 H 96.8°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#C0A838
RGBrgb(192, 168, 56)
HSLhsl(49, 55%, 49%)
HSVhsv(49, 71%, 75%)
CMYKcmyk(0%, 12.5%, 70.8%, 24.7%)
CIE-LABlab(69.11, -3.57, 58.21)
CIE-LCHlch(69.11, 58.32, 93.51°)
OKLaboklab(73.25% -0.0155 0.1297)
OKLCHoklch(73.25% 0.131 96.8)
XYZxyz(36.4565, 39.4991, 9.4444)
Luminance0.3950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0A838 #3850C0
analogous
#C06438 #C0A838 #94C038
triadic
#C0A838 #38C0A8 #A838C0
tetradic
#C0A838 #38C064 #3850C0 #C03894
square
#C0A838 #38C064 #3850C0 #C03894
split-complementary
#C0A838 #3894C0 #6438C0
monochromatic
#61551C #917F2A #C0A838 #D2BE64 #DFD293

Accessibility & contrast

On white

2.36
#C0A838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#C0A838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0A838
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0A838#FFFFFF#000000##000000
##C0A8381.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A427
Deuteranopia (green-blind)
#BFAC3E
Tritanopia (blue-blind)
#CF9B91
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c0a838;
/* rgb */ color: rgb(192, 168, 56);
/* oklch */ color: oklch(73.3% 0.131 96.8);
Tailwind
colors: {
  custom: {
    50: '#d7c175',
    500: '#c0a838',
    950: '#000000',
  },
}
SCSS
$custom: #c0a838;
$custom-light: #d7c175;
$custom-dark: #000000;
JSON
{
  "hex": "#c0a838",
  "rgb": {
    "r": 192,
    "g": 168,
    "b": 56
  },
  "hsl": {
    "h": 49.412,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.73254,
    "c": 0.13058,
    "h": 96.8
  },
  "luminance": 0.39497
}

Semantic roles & 50–950 ramp

primary
#C0A838
secondary
#8995CB
accent
#64DE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C0A838

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

Preview Lab → · Contrast checker → · Palette generator →

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