#C0B140#C0B140

#C0B140 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 75.2% C 0.132 H 101.7°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#C0B140
RGBrgb(192, 177, 64)
HSLhsl(53, 50%, 50%)
HSVhsv(53, 67%, 75%)
CMYKcmyk(0%, 7.8%, 66.7%, 24.7%)
CIE-LABlab(71.57, -7.87, 57.47)
CIE-LCHlch(71.57, 58.00, 97.80°)
OKLaboklab(75.22% -0.0268 0.1295)
OKLCHoklch(75.22% 0.132 101.7)
XYZxyz(38.3874, 43.0225, 11.1316)
Luminance0.4302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B140 #404FC0
analogous
#C07140 #C0B140 #8FC040
triadic
#C0B140 #40C0B1 #B140C0
tetradic
#C0B140 #40C071 #404FC0 #C0408F
square
#C0B140 #40C071 #404FC0 #C0408F
split-complementary
#C0B140 #408FC0 #7140C0
monochromatic
#645D21 #928730 #C0B140 #CFC46E #DED79C

Accessibility & contrast

On white

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

On black

9.60
#C0B140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B140
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B140#FFFFFF#000000##000000
##C0B1401.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC31
Deuteranopia (green-blind)
#C5B247
Tritanopia (blue-blind)
#CEA59A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c0b140;
/* rgb */ color: rgb(192, 177, 64);
/* oklch */ color: oklch(75.2% 0.132 101.7);
Tailwind
colors: {
  custom: {
    50: '#d6c87b',
    500: '#c0b140',
    950: '#000000',
  },
}
SCSS
$custom: #c0b140;
$custom-light: #d6c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b140",
  "rgb": {
    "r": 192,
    "g": 177,
    "b": 64
  },
  "hsl": {
    "h": 52.969,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.75223,
    "c": 0.1322,
    "h": 101.7
  },
  "luminance": 0.43021
}

Semantic roles & 50–950 ramp

primary
#C0B140
secondary
#9198CB
accent
#5EDA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C0B140

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

Preview Lab → · Contrast checker → · Palette generator →

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