#C0AF2B#C0AF2B

#C0AF2B is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.6% C 0.144 H 101.6°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#C0AF2B
RGBrgb(192, 175, 43)
HSLhsl(53, 63%, 46%)
HSVhsv(53, 78%, 75%)
CMYKcmyk(0%, 8.9%, 77.6%, 24.7%)
CIE-LABlab(70.90, -7.83, 64.60)
CIE-LCHlch(70.90, 65.08, 96.91°)
OKLaboklab(74.65% -0.0288 0.1408)
OKLCHoklch(74.65% 0.144 101.6)
XYZxyz(37.5060, 42.0426, 8.4245)
Luminance0.4204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AF2B #2B3CC0
analogous
#C0642B #C0AF2B #86C02B
triadic
#C0AF2B #2BC0AF #AF2BC0
tetradic
#C0AF2B #2BC064 #2B3CC0 #C02B86
square
#C0AF2B #2BC064 #2B3CC0 #C02B86
split-complementary
#C0AF2B #2B86C0 #642BC0
monochromatic
#5C5415 #8E8120 #C0AF2B #D8C850 #E3D882

Accessibility & contrast

On white

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

On black

9.41
#C0AF2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AF2B
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AF2B#FFFFFF#000000##000000
##C0AF2B1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA09
Deuteranopia (green-blind)
#C5B135
Tritanopia (blue-blind)
#CFA296
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c0af2b;
/* rgb */ color: rgb(192, 175, 43);
/* oklch */ color: oklch(74.6% 0.144 101.6);
Tailwind
colors: {
  custom: {
    50: '#d7c670',
    500: '#c0af2b',
    950: '#000000',
  },
}
SCSS
$custom: #c0af2b;
$custom-light: #d7c670;
$custom-dark: #000000;
JSON
{
  "hex": "#c0af2b",
  "rgb": {
    "r": 192,
    "g": 175,
    "b": 43
  },
  "hsl": {
    "h": 53.154,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74648,
    "c": 0.14369,
    "h": 101.6
  },
  "luminance": 0.42041
}

Semantic roles & 50–950 ramp

primary
#C0AF2B
secondary
#7B84CC
accent
#54E641
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C0AF2B

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

Preview Lab → · Contrast checker → · Palette generator →

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