#C0B440#C0B440

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

Color values

HEX#C0B440
RGBrgb(192, 180, 64)
HSLhsl(54, 50%, 50%)
HSVhsv(54, 67%, 75%)
CMYKcmyk(0%, 6.2%, 66.7%, 24.7%)
CIE-LABlab(72.38, -9.43, 58.30)
CIE-LCHlch(72.38, 59.06, 99.19°)
OKLaboklab(75.86% -0.0312 0.1312)
OKLCHoklch(75.86% 0.135 103.4)
XYZxyz(38.9865, 44.2207, 11.3313)
Luminance0.4422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B440 #404CC0
analogous
#C07440 #C0B440 #8CC040
triadic
#C0B440 #40C0B4 #B440C0
tetradic
#C0B440 #40C074 #404CC0 #C0408C
square
#C0B440 #40C074 #404CC0 #C0408C
split-complementary
#C0B440 #408CC0 #7440C0
monochromatic
#645E21 #928930 #C0B440 #CFC66E #DED89C

Accessibility & contrast

On white

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

On black

9.84
#C0B440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B440
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B440#FFFFFF#000000##000000
##C0B4401.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0b440;
/* rgb */ color: rgb(192, 180, 64);
/* oklch */ color: oklch(75.9% 0.135 103.4);
Tailwind
colors: {
  custom: {
    50: '#d6ca7b',
    500: '#c0b440',
    950: '#000000',
  },
}
SCSS
$custom: #c0b440;
$custom-light: #d6ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b440",
  "rgb": {
    "r": 192,
    "g": 180,
    "b": 64
  },
  "hsl": {
    "h": 54.375,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.75863,
    "c": 0.13488,
    "h": 103.4
  },
  "luminance": 0.44219
}

Semantic roles & 50–950 ramp

primary
#C0B440
secondary
#9197CB
accent
#5BDA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C0B440

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

Preview Lab → · Contrast checker → · Palette generator →

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