#C0B031#C0B031

#C0B031 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.9% C 0.141 H 101.9°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#C0B031
RGBrgb(192, 176, 49)
HSLhsl(53, 59%, 47%)
HSVhsv(53, 74%, 75%)
CMYKcmyk(0%, 8.3%, 74.5%, 24.7%)
CIE-LABlab(71.20, -8.11, 62.86)
CIE-LCHlch(71.20, 63.38, 97.35°)
OKLaboklab(74.9% -0.029 0.1382)
OKLCHoklch(74.9% 0.141 101.9)
XYZxyz(37.8197, 42.4806, 9.1126)
Luminance0.4248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B031 #3141C0
analogous
#C06931 #C0B031 #88C031
triadic
#C0B031 #31C0B0 #B031C0
tetradic
#C0B031 #31C069 #3141C0 #C03188
square
#C0B031 #31C069 #3141C0 #C03188
split-complementary
#C0B031 #3188C0 #6931C0
monochromatic
#5E5718 #8F8325 #C0B031 #D5C759 #E1D78A

Accessibility & contrast

On white

2.21
#C0B031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#C0B031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B031
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B031#FFFFFF#000000##000000
##C0B0311.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB18
Deuteranopia (green-blind)
#C5B13A
Tritanopia (blue-blind)
#CFA398
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c0b031;
/* rgb */ color: rgb(192, 176, 49);
/* oklch */ color: oklch(74.9% 0.141 101.9);
Tailwind
colors: {
  custom: {
    50: '#d7c773',
    500: '#c0b031',
    950: '#000000',
  },
}
SCSS
$custom: #c0b031;
$custom-light: #d7c773;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b031",
  "rgb": {
    "r": 192,
    "g": 176,
    "b": 49
  },
  "hsl": {
    "h": 53.287,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.74897,
    "c": 0.14123,
    "h": 101.9
  },
  "luminance": 0.42479
}

Semantic roles & 50–950 ramp

primary
#C0B031
secondary
#828ACB
accent
#57E345
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #C0B031

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

Preview Lab → · Contrast checker → · Palette generator →

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