#C0A138#C0A138

#C0A138 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.8% C 0.126 H 92.2°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#C0A138
RGBrgb(192, 161, 56)
HSLhsl(46, 55%, 49%)
HSVhsv(46, 71%, 75%)
CMYKcmyk(0%, 16.1%, 70.8%, 24.7%)
CIE-LABlab(67.26, 0.16, 56.36)
CIE-LCHlch(67.26, 56.36, 89.84°)
OKLaboklab(71.79% -0.0048 0.1257)
OKLCHoklch(71.79% 0.126 92.2)
XYZxyz(35.1988, 36.9838, 9.0252)
Luminance0.3698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0A138 #3857C0
analogous
#C05D38 #C0A138 #9BC038
triadic
#C0A138 #38C0A1 #A138C0
tetradic
#C0A138 #38C05D #3857C0 #C0389B
square
#C0A138 #38C05D #3857C0 #C0389B
split-complementary
#C0A138 #389BC0 #5D38C0
monochromatic
#61521C #91792A #C0A138 #D2B964 #DFCE93

Accessibility & contrast

On white

2.50
#C0A138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#C0A138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0A138
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0A138#FFFFFF#000000##000000
##C0A1381.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F29
Deuteranopia (green-blind)
#BAA83D
Tritanopia (blue-blind)
#D0948C
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c0a138;
/* rgb */ color: rgb(192, 161, 56);
/* oklch */ color: oklch(71.8% 0.126 92.2);
Tailwind
colors: {
  custom: {
    50: '#d7bc75',
    500: '#c0a138',
    950: '#000000',
  },
}
SCSS
$custom: #c0a138;
$custom-light: #d7bc75;
$custom-dark: #000000;
JSON
{
  "hex": "#c0a138",
  "rgb": {
    "r": 192,
    "g": 161,
    "b": 56
  },
  "hsl": {
    "h": 46.324,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.71794,
    "c": 0.12583,
    "h": 92.2
  },
  "luminance": 0.36982
}

Semantic roles & 50–950 ramp

primary
#C0A138
secondary
#8998CB
accent
#6BDE4A
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #C0A138

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

Preview Lab → · Contrast checker → · Palette generator →

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