#C0B142#C0B142

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

Color values

HEX#C0B142
RGBrgb(192, 177, 66)
HSLhsl(53, 50%, 51%)
HSVhsv(53, 66%, 75%)
CMYKcmyk(0%, 7.8%, 65.6%, 24.7%)
CIE-LABlab(71.59, -7.75, 56.65)
CIE-LCHlch(71.59, 57.17, 97.79°)
OKLaboklab(75.24% -0.0262 0.1281)
OKLCHoklch(75.24% 0.131 101.6)
XYZxyz(38.4453, 43.0457, 11.4368)
Luminance0.4304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B142 #4251C0
analogous
#C07242 #C0B142 #90C042
triadic
#C0B142 #42C0B1 #B142C0
tetradic
#C0B142 #42C072 #4251C0 #C04290
square
#C0B142 #42C072 #4251C0 #C04290
split-complementary
#C0B142 #4290C0 #7242C0
monochromatic
#665E22 #948831 #C0B142 #CFC470 #DFD79E

Accessibility & contrast

On white

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

On black

9.61
#C0B142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B142
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B142#FFFFFF#000000##000000
##C0B1421.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0b142;
/* rgb */ color: rgb(192, 177, 66);
/* oklch */ color: oklch(75.2% 0.131 101.6);
Tailwind
colors: {
  custom: {
    50: '#d6c87c',
    500: '#c0b142',
    950: '#000000',
  },
}
SCSS
$custom: #c0b142;
$custom-light: #d6c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b142",
  "rgb": {
    "r": 192,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 52.857,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.7524,
    "c": 0.13071,
    "h": 101.6
  },
  "luminance": 0.43044
}

Semantic roles & 50–950 ramp

primary
#C0B142
secondary
#939ACB
accent
#5FDA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C0B142

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

Preview Lab → · Contrast checker → · Palette generator →

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