#C0AF38#C0AF38

#C0AF38 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.7% C 0.136 H 101.0°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#C0AF38
RGBrgb(192, 175, 56)
HSLhsl(53, 55%, 49%)
HSVhsv(53, 71%, 75%)
CMYKcmyk(0%, 8.9%, 70.8%, 24.7%)
CIE-LABlab(70.98, -7.26, 60.07)
CIE-LCHlch(70.98, 60.50, 96.89°)
OKLaboklab(74.73% -0.0259 0.1336)
OKLCHoklch(74.73% 0.136 101)
XYZxyz(37.7837, 42.1536, 9.8869)
Luminance0.4215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AF38 #3849C0
analogous
#C06B38 #C0AF38 #8DC038
triadic
#C0AF38 #38C0AF #AF38C0
tetradic
#C0AF38 #38C06B #3849C0 #C0388D
square
#C0AF38 #38C06B #3849C0 #C0388D
split-complementary
#C0AF38 #388DC0 #6B38C0
monochromatic
#61591C #91842A #C0AF38 #D2C464 #DFD693

Accessibility & contrast

On white

2.23
#C0AF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#C0AF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AF38
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AF38#FFFFFF#000000##000000
##C0AF381.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA25
Deuteranopia (green-blind)
#C4B140
Tritanopia (blue-blind)
#CFA297
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c0af38;
/* rgb */ color: rgb(192, 175, 56);
/* oklch */ color: oklch(74.7% 0.136 101.0);
Tailwind
colors: {
  custom: {
    50: '#d7c676',
    500: '#c0af38',
    950: '#000000',
  },
}
SCSS
$custom: #c0af38;
$custom-light: #d7c676;
$custom-dark: #000000;
JSON
{
  "hex": "#c0af38",
  "rgb": {
    "r": 192,
    "g": 175,
    "b": 56
  },
  "hsl": {
    "h": 52.5,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.74733,
    "c": 0.13607,
    "h": 101
  },
  "luminance": 0.42152
}

Semantic roles & 50–950 ramp

primary
#C0AF38
secondary
#8991CB
accent
#5CDE4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C0AF38

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

Preview Lab → · Contrast checker → · Palette generator →

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