#C0B933#C0B933

#C0B933 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.8% C 0.148 H 106.4°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#C0B933
RGBrgb(192, 185, 51)
HSLhsl(57, 58%, 48%)
HSVhsv(57, 73%, 75%)
CMYKcmyk(0%, 3.6%, 73.4%, 24.7%)
CIE-LABlab(73.64, -12.66, 64.47)
CIE-LCHlch(73.64, 65.70, 101.11°)
OKLaboklab(76.84% -0.0417 0.142)
OKLCHoklch(76.84% 0.148 106.4)
XYZxyz(39.6863, 46.1448, 9.9477)
Luminance0.4614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B933 #333AC0
analogous
#C07233 #C0B933 #81C033
triadic
#C0B933 #33C0B9 #B933C0
tetradic
#C0B933 #33C072 #333AC0 #C03381
square
#C0B933 #33C072 #333AC0 #C03381
split-complementary
#C0B933 #3381C0 #7233C0
monochromatic
#5F5C19 #908A26 #C0B933 #D4CE5C #E1DC8D

Accessibility & contrast

On white

2.05
#C0B933 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#C0B933 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B933
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B933#FFFFFF#000000##000000
##C0B9331.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B219
Deuteranopia (green-blind)
#CCB73D
Tritanopia (blue-blind)
#CEAC9F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c0b933;
/* rgb */ color: rgb(192, 185, 51);
/* oklch */ color: oklch(76.8% 0.148 106.4);
Tailwind
colors: {
  custom: {
    50: '#d7cd75',
    500: '#c0b933',
    950: '#000000',
  },
}
SCSS
$custom: #c0b933;
$custom-light: #d7cd75;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b933",
  "rgb": {
    "r": 192,
    "g": 185,
    "b": 51
  },
  "hsl": {
    "h": 57.021,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76841,
    "c": 0.14799,
    "h": 106.4
  },
  "luminance": 0.46143
}

Semantic roles & 50–950 ramp

primary
#C0B933
secondary
#8487CB
accent
#4EE147
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C0B933

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

Preview Lab → · Contrast checker → · Palette generator →

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