#C0B42B#C0B42B

#C0B42B is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.7% C 0.148 H 104.1°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#C0B42B
RGBrgb(192, 180, 43)
HSLhsl(55, 63%, 46%)
HSVhsv(55, 78%, 75%)
CMYKcmyk(0%, 6.2%, 77.6%, 24.7%)
CIE-LABlab(72.25, -10.43, 65.82)
CIE-LCHlch(72.25, 66.64, 99.00°)
OKLaboklab(75.72% -0.0361 0.1434)
OKLCHoklch(75.72% 0.148 104.1)
XYZxyz(38.4973, 44.0250, 8.7549)
Luminance0.4402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B42B #2B37C0
analogous
#C0692B #C0B42B #81C02B
triadic
#C0B42B #2BC0B4 #B42BC0
tetradic
#C0B42B #2BC069 #2B37C0 #C02B81
square
#C0B42B #2BC069 #2B37C0 #C02B81
split-complementary
#C0B42B #2B81C0 #692BC0
monochromatic
#5C5615 #8E8520 #C0B42B #D8CD50 #E3DB82

Accessibility & contrast

On white

2.14
#C0B42B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#C0B42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B42B
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B42B#FFFFFF#000000##000000
##C0B42B1.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE05
Deuteranopia (green-blind)
#C9B436
Tritanopia (blue-blind)
#CFA79A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c0b42b;
/* rgb */ color: rgb(192, 180, 43);
/* oklch */ color: oklch(75.7% 0.148 104.1);
Tailwind
colors: {
  custom: {
    50: '#d7ca70',
    500: '#c0b42b',
    950: '#000000',
  },
}
SCSS
$custom: #c0b42b;
$custom-light: #d7ca70;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b42b",
  "rgb": {
    "r": 192,
    "g": 180,
    "b": 43
  },
  "hsl": {
    "h": 55.168,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75717,
    "c": 0.14786,
    "h": 104.1
  },
  "luminance": 0.44023
}

Semantic roles & 50–950 ramp

primary
#C0B42B
secondary
#7B81CC
accent
#4FE641
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #C0B42B

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

Preview Lab → · Contrast checker → · Palette generator →

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