#C0B342#C0B342

#C0B342 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.7% C 0.133 H 102.7°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#C0B342
RGBrgb(192, 179, 66)
HSLhsl(54, 50%, 51%)
HSVhsv(54, 66%, 75%)
CMYKcmyk(0%, 6.8%, 65.6%, 24.7%)
CIE-LABlab(72.12, -8.79, 57.21)
CIE-LCHlch(72.12, 57.88, 98.74°)
OKLaboklab(75.67% -0.0292 0.1292)
OKLCHoklch(75.67% 0.133 102.7)
XYZxyz(38.8433, 43.8416, 11.5694)
Luminance0.4384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B342 #424FC0
analogous
#C07442 #C0B342 #8EC042
triadic
#C0B342 #42C0B3 #B342C0
tetradic
#C0B342 #42C074 #424FC0 #C0428E
square
#C0B342 #42C074 #424FC0 #C0428E
split-complementary
#C0B342 #428EC0 #7442C0
monochromatic
#665F22 #948931 #C0B342 #CFC570 #DFD89E

Accessibility & contrast

On white

2.15
#C0B342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#C0B342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B342
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B342#FFFFFF#000000##000000
##C0B3421.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD33
Deuteranopia (green-blind)
#C7B349
Tritanopia (blue-blind)
#CEA79C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c0b342;
/* rgb */ color: rgb(192, 179, 66);
/* oklch */ color: oklch(75.7% 0.133 102.7);
Tailwind
colors: {
  custom: {
    50: '#d6c97c',
    500: '#c0b342',
    950: '#000000',
  },
}
SCSS
$custom: #c0b342;
$custom-light: #d6c97c;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b342",
  "rgb": {
    "r": 192,
    "g": 179,
    "b": 66
  },
  "hsl": {
    "h": 53.81,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.75666,
    "c": 0.1325,
    "h": 102.7
  },
  "luminance": 0.4384
}

Semantic roles & 50–950 ramp

primary
#C0B342
secondary
#9399CB
accent
#5DDA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C0B342

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

Preview Lab → · Contrast checker → · Palette generator →

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