#C0B131#C0B131

#C0B131 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.1% C 0.142 H 102.4°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#C0B131
RGBrgb(192, 177, 49)
HSLhsl(54, 59%, 47%)
HSVhsv(54, 74%, 75%)
CMYKcmyk(0%, 7.8%, 74.5%, 24.7%)
CIE-LABlab(71.47, -8.63, 63.12)
CIE-LCHlch(71.47, 63.70, 97.78°)
OKLaboklab(75.11% -0.0305 0.1388)
OKLCHoklch(75.11% 0.142 102.4)
XYZxyz(38.0165, 42.8742, 9.1782)
Luminance0.4287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B131 #3140C0
analogous
#C06931 #C0B131 #88C031
triadic
#C0B131 #31C0B1 #B131C0
tetradic
#C0B131 #31C069 #3140C0 #C03188
square
#C0B131 #31C069 #3140C0 #C03188
split-complementary
#C0B131 #3188C0 #6931C0
monochromatic
#5E5718 #8F8425 #C0B131 #D5C859 #E1D88A

Accessibility & contrast

On white

2.19
#C0B131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#C0B131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B131
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B131#FFFFFF#000000##000000
##C0B1311.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB18
Deuteranopia (green-blind)
#C6B23A
Tritanopia (blue-blind)
#CFA498
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c0b131;
/* rgb */ color: rgb(192, 177, 49);
/* oklch */ color: oklch(75.1% 0.142 102.4);
Tailwind
colors: {
  custom: {
    50: '#d7c773',
    500: '#c0b131',
    950: '#000000',
  },
}
SCSS
$custom: #c0b131;
$custom-light: #d7c773;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b131",
  "rgb": {
    "r": 192,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 53.706,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.7511,
    "c": 0.14207,
    "h": 102.4
  },
  "luminance": 0.42872
}

Semantic roles & 50–950 ramp

primary
#C0B131
secondary
#8289CB
accent
#56E345
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C0B131

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

Preview Lab → · Contrast checker → · Palette generator →

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