#C0AF33#C0AF33

#C0AF33 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.7% C 0.139 H 101.2°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#C0AF33
RGBrgb(192, 175, 51)
HSLhsl(53, 58%, 48%)
HSVhsv(53, 73%, 75%)
CMYKcmyk(0%, 8.9%, 73.4%, 24.7%)
CIE-LABlab(70.94, -7.50, 61.91)
CIE-LCHlch(70.94, 62.36, 96.90°)
OKLaboklab(74.7% -0.0271 0.1366)
OKLCHoklch(74.7% 0.139 101.2)
XYZxyz(37.6675, 42.1071, 9.2747)
Luminance0.4210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AF33 #3344C0
analogous
#C06833 #C0AF33 #8AC033
triadic
#C0AF33 #33C0AF #AF33C0
tetradic
#C0AF33 #33C068 #3344C0 #C0338A
square
#C0AF33 #33C068 #3344C0 #C0338A
split-complementary
#C0AF33 #338AC0 #6833C0
monochromatic
#5F5719 #908326 #C0AF33 #D4C55C #E1D78D

Accessibility & contrast

On white

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

On black

9.42
#C0AF33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AF33
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AF33#FFFFFF#000000##000000
##C0AF331.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0af33;
/* rgb */ color: rgb(192, 175, 51);
/* oklch */ color: oklch(74.7% 0.139 101.2);
Tailwind
colors: {
  custom: {
    50: '#d7c673',
    500: '#c0af33',
    950: '#000000',
  },
}
SCSS
$custom: #c0af33;
$custom-light: #d7c673;
$custom-dark: #000000;
JSON
{
  "hex": "#c0af33",
  "rgb": {
    "r": 192,
    "g": 175,
    "b": 51
  },
  "hsl": {
    "h": 52.766,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.74697,
    "c": 0.13923,
    "h": 101.2
  },
  "luminance": 0.42105
}

Semantic roles & 50–950 ramp

primary
#C0AF33
secondary
#848CCB
accent
#59E147
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C0AF33

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

Preview Lab → · Contrast checker → · Palette generator →

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