#C0B135#C0B135

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

Color values

HEX#C0B135
RGBrgb(192, 177, 53)
HSLhsl(54, 57%, 48%)
HSVhsv(54, 72%, 75%)
CMYKcmyk(0%, 7.8%, 72.4%, 24.7%)
CIE-LABlab(71.49, -8.45, 61.70)
CIE-LCHlch(71.49, 62.28, 97.79°)
OKLaboklab(75.14% -0.0296 0.1365)
OKLCHoklch(75.14% 0.14 102.2)
XYZxyz(38.1047, 42.9094, 9.6427)
Luminance0.4291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B135 #3544C0
analogous
#C06B35 #C0B135 #89C035
triadic
#C0B135 #35C0B1 #B135C0
tetradic
#C0B135 #35C06B #3544C0 #C03589
square
#C0B135 #35C06B #3544C0 #C03589
split-complementary
#C0B135 #3589C0 #6B35C0
monochromatic
#60591B #908528 #C0B135 #D3C65F #E0D78F

Accessibility & contrast

On white

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

On black

9.58
#C0B135 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B135
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B135#FFFFFF#000000##000000
##C0B1351.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB20
Deuteranopia (green-blind)
#C6B23D
Tritanopia (blue-blind)
#CFA499
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c0b135;
/* rgb */ color: rgb(192, 177, 53);
/* oklch */ color: oklch(75.1% 0.140 102.2);
Tailwind
colors: {
  custom: {
    50: '#d7c875',
    500: '#c0b135',
    950: '#000000',
  },
}
SCSS
$custom: #c0b135;
$custom-light: #d7c875;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b135",
  "rgb": {
    "r": 192,
    "g": 177,
    "b": 53
  },
  "hsl": {
    "h": 53.525,
    "s": 56.735,
    "l": 48.039
  },
  "oklch": {
    "l": 0.75137,
    "c": 0.13967,
    "h": 102.2
  },
  "luminance": 0.42908
}

Semantic roles & 50–950 ramp

primary
#C0B135
secondary
#868DCB
accent
#58E048
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C0B135

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

Preview Lab → · Contrast checker → · Palette generator →

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