#C0B22B#C0B22B

#C0B22B is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.3% C 0.146 H 103.1°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#C0B22B
RGBrgb(192, 178, 43)
HSLhsl(54, 63%, 46%)
HSVhsv(54, 78%, 75%)
CMYKcmyk(0%, 7.3%, 77.6%, 24.7%)
CIE-LABlab(71.71, -9.39, 65.34)
CIE-LCHlch(71.71, 66.01, 98.18°)
OKLaboklab(75.29% -0.0332 0.1423)
OKLCHoklch(75.29% 0.146 103.1)
XYZxyz(38.0964, 43.2233, 8.6213)
Luminance0.4322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B22B #2B39C0
analogous
#C0672B #C0B22B #83C02B
triadic
#C0B22B #2BC0B2 #B22BC0
tetradic
#C0B22B #2BC067 #2B39C0 #C02B83
square
#C0B22B #2BC067 #2B39C0 #C02B83
split-complementary
#C0B22B #2B83C0 #672BC0
monochromatic
#5C5515 #8E8420 #C0B22B #D8CB50 #E3DA82

Accessibility & contrast

On white

2.18
#C0B22B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#C0B22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B22B
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B22B#FFFFFF#000000##000000
##C0B22B1.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC06
Deuteranopia (green-blind)
#C7B336
Tritanopia (blue-blind)
#CFA599
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c0b22b;
/* rgb */ color: rgb(192, 178, 43);
/* oklch */ color: oklch(75.3% 0.146 103.1);
Tailwind
colors: {
  custom: {
    50: '#d7c870',
    500: '#c0b22b',
    950: '#000000',
  },
}
SCSS
$custom: #c0b22b;
$custom-light: #d7c870;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b22b",
  "rgb": {
    "r": 192,
    "g": 178,
    "b": 43
  },
  "hsl": {
    "h": 54.362,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75288,
    "c": 0.14616,
    "h": 103.1
  },
  "luminance": 0.43222
}

Semantic roles & 50–950 ramp

primary
#C0B22B
secondary
#7B82CC
accent
#51E641
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #C0B22B

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

Preview Lab → · Contrast checker → · Palette generator →

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