#C0B442#C0B442

#C0B442 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.9% C 0.133 H 103.3°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#C0B442
RGBrgb(192, 180, 66)
HSLhsl(54, 50%, 51%)
HSVhsv(54, 66%, 75%)
CMYKcmyk(0%, 6.2%, 65.6%, 24.7%)
CIE-LABlab(72.39, -9.31, 57.49)
CIE-LCHlch(72.39, 58.24, 99.20°)
OKLaboklab(75.88% -0.0307 0.1298)
OKLCHoklch(75.88% 0.133 103.3)
XYZxyz(39.0444, 44.2439, 11.6365)
Luminance0.4424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B442 #424EC0
analogous
#C07542 #C0B442 #8DC042
triadic
#C0B442 #42C0B4 #B442C0
tetradic
#C0B442 #42C075 #424EC0 #C0428D
square
#C0B442 #42C075 #424EC0 #C0428D
split-complementary
#C0B442 #428DC0 #7542C0
monochromatic
#665F22 #948A31 #C0B442 #CFC670 #DFD89E

Accessibility & contrast

On white

2.13
#C0B442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#C0B442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B442
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B442#FFFFFF#000000##000000
##C0B4421.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE33
Deuteranopia (green-blind)
#C7B449
Tritanopia (blue-blind)
#CEA89C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c0b442;
/* rgb */ color: rgb(192, 180, 66);
/* oklch */ color: oklch(75.9% 0.133 103.3);
Tailwind
colors: {
  custom: {
    50: '#d6ca7c',
    500: '#c0b442',
    950: '#000000',
  },
}
SCSS
$custom: #c0b442;
$custom-light: #d6ca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b442",
  "rgb": {
    "r": 192,
    "g": 180,
    "b": 66
  },
  "hsl": {
    "h": 54.286,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.7588,
    "c": 0.1334,
    "h": 103.3
  },
  "luminance": 0.44242
}

Semantic roles & 50–950 ramp

primary
#C0B442
secondary
#9398CB
accent
#5CDA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C0B442

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

Preview Lab → · Contrast checker → · Palette generator →

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