#C0B331#C0B331

#C0B331 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.5% C 0.144 H 103.4°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#C0B331
RGBrgb(192, 179, 49)
HSLhsl(55, 59%, 47%)
HSVhsv(55, 74%, 75%)
CMYKcmyk(0%, 6.8%, 74.5%, 24.7%)
CIE-LABlab(72.01, -9.67, 63.62)
CIE-LCHlch(72.01, 64.35, 98.64°)
OKLaboklab(75.54% -0.0334 0.1398)
OKLCHoklch(75.54% 0.144 103.4)
XYZxyz(38.4144, 43.6700, 9.3108)
Luminance0.4367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B331 #313EC0
analogous
#C06B31 #C0B331 #86C031
triadic
#C0B331 #31C0B3 #B331C0
tetradic
#C0B331 #31C06B #313EC0 #C03186
square
#C0B331 #31C06B #313EC0 #C03186
split-complementary
#C0B331 #3186C0 #6B31C0
monochromatic
#5E5818 #8F8625 #C0B331 #D5CA59 #E1D98A

Accessibility & contrast

On white

2.16
#C0B331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#C0B331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B331
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B331#FFFFFF#000000##000000
##C0B3311.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD17
Deuteranopia (green-blind)
#C8B33A
Tritanopia (blue-blind)
#CFA69A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c0b331;
/* rgb */ color: rgb(192, 179, 49);
/* oklch */ color: oklch(75.5% 0.144 103.4);
Tailwind
colors: {
  custom: {
    50: '#d7c973',
    500: '#c0b331',
    950: '#000000',
  },
}
SCSS
$custom: #c0b331;
$custom-light: #d7c973;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b331",
  "rgb": {
    "r": 192,
    "g": 179,
    "b": 49
  },
  "hsl": {
    "h": 54.545,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.75538,
    "c": 0.14377,
    "h": 103.4
  },
  "luminance": 0.43668
}

Semantic roles & 50–950 ramp

primary
#C0B331
secondary
#8288CB
accent
#54E345
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C0B331

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

Preview Lab → · Contrast checker → · Palette generator →

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