#C0B334#C0B334

#C0B334 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.6% C 0.142 H 103.3°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#C0B334
RGBrgb(192, 179, 52)
HSLhsl(54, 57%, 48%)
HSVhsv(54, 73%, 75%)
CMYKcmyk(0%, 6.8%, 72.9%, 24.7%)
CIE-LABlab(72.03, -9.53, 62.58)
CIE-LCHlch(72.03, 63.30, 98.66°)
OKLaboklab(75.56% -0.0328 0.1382)
OKLCHoklch(75.56% 0.142 103.3)
XYZxyz(38.4798, 43.6962, 9.6555)
Luminance0.4370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B334 #3441C0
analogous
#C06D34 #C0B334 #87C034
triadic
#C0B334 #34C0B3 #B334C0
tetradic
#C0B334 #34C06D #3441C0 #C03487
square
#C0B334 #34C06D #3441C0 #C03487
split-complementary
#C0B334 #3487C0 #6D34C0
monochromatic
#60591A #908627 #C0B334 #D3C85E #E0D98E

Accessibility & contrast

On white

2.16
#C0B334 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#C0B334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B334
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B334#FFFFFF#000000##000000
##C0B3341.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD1D
Deuteranopia (green-blind)
#C7B33D
Tritanopia (blue-blind)
#CFA69A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c0b334;
/* rgb */ color: rgb(192, 179, 52);
/* oklch */ color: oklch(75.6% 0.142 103.3);
Tailwind
colors: {
  custom: {
    50: '#d7c974',
    500: '#c0b334',
    950: '#000000',
  },
}
SCSS
$custom: #c0b334;
$custom-light: #d7c974;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b334",
  "rgb": {
    "r": 192,
    "g": 179,
    "b": 52
  },
  "hsl": {
    "h": 54.429,
    "s": 57.377,
    "l": 47.843
  },
  "oklch": {
    "l": 0.75558,
    "c": 0.142,
    "h": 103.3
  },
  "luminance": 0.43695
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C0B334

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

Preview Lab → · Contrast checker → · Palette generator →

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