#C0B434#C0B434

#C0B434 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.8% C 0.143 H 103.9°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#C0B434
RGBrgb(192, 180, 52)
HSLhsl(55, 57%, 48%)
HSVhsv(55, 73%, 75%)
CMYKcmyk(0%, 6.2%, 72.9%, 24.7%)
CIE-LABlab(72.29, -10.05, 62.84)
CIE-LCHlch(72.29, 63.64, 99.09°)
OKLaboklab(75.77% -0.0342 0.1387)
OKLCHoklch(75.77% 0.143 103.9)
XYZxyz(38.6810, 44.0985, 9.7225)
Luminance0.4410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B434 #3440C0
analogous
#C06E34 #C0B434 #86C034
triadic
#C0B434 #34C0B4 #B434C0
tetradic
#C0B434 #34C06E #3440C0 #C03486
square
#C0B434 #34C06E #3440C0 #C03486
split-complementary
#C0B434 #3486C0 #6E34C0
monochromatic
#605A1A #908727 #C0B434 #D3C95E #E0D98E

Accessibility & contrast

On white

2.14
#C0B434 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#C0B434 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B434
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B434#FFFFFF#000000##000000
##C0B4341.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE1D
Deuteranopia (green-blind)
#C8B43D
Tritanopia (blue-blind)
#CFA79B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c0b434;
/* rgb */ color: rgb(192, 180, 52);
/* oklch */ color: oklch(75.8% 0.143 103.9);
Tailwind
colors: {
  custom: {
    50: '#d7ca74',
    500: '#c0b434',
    950: '#000000',
  },
}
SCSS
$custom: #c0b434;
$custom-light: #d7ca74;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b434",
  "rgb": {
    "r": 192,
    "g": 180,
    "b": 52
  },
  "hsl": {
    "h": 54.857,
    "s": 57.377,
    "l": 47.843
  },
  "oklch": {
    "l": 0.75772,
    "c": 0.14288,
    "h": 103.9
  },
  "luminance": 0.44097
}

Semantic roles & 50–950 ramp

primary
#C0B434
secondary
#858BCB
accent
#54E147
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C0B434

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

Preview Lab → · Contrast checker → · Palette generator →

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