#C0B831#C0B831

#C0B831 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.6% C 0.148 H 105.9°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#C0B831
RGBrgb(192, 184, 49)
HSLhsl(57, 59%, 47%)
HSVhsv(57, 74%, 75%)
CMYKcmyk(0%, 4.2%, 74.5%, 24.7%)
CIE-LABlab(73.36, -12.24, 64.89)
CIE-LCHlch(73.36, 66.04, 100.68°)
OKLaboklab(76.61% -0.0407 0.1425)
OKLCHoklch(76.61% 0.148 105.9)
XYZxyz(39.4347, 45.7107, 9.6509)
Luminance0.4571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B831 #3139C0
analogous
#C07031 #C0B831 #81C031
triadic
#C0B831 #31C0B8 #B831C0
tetradic
#C0B831 #31C070 #3139C0 #C03181
square
#C0B831 #31C070 #3139C0 #C03181
split-complementary
#C0B831 #3181C0 #7031C0
monochromatic
#5E5B18 #8F8925 #C0B831 #D5CE59 #E1DC8A

Accessibility & contrast

On white

2.07
#C0B831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#C0B831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B831
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B831#FFFFFF#000000##000000
##C0B8311.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B114
Deuteranopia (green-blind)
#CBB73B
Tritanopia (blue-blind)
#CEAB9E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c0b831;
/* rgb */ color: rgb(192, 184, 49);
/* oklch */ color: oklch(76.6% 0.148 105.9);
Tailwind
colors: {
  custom: {
    50: '#d7cd73',
    500: '#c0b831',
    950: '#000000',
  },
}
SCSS
$custom: #c0b831;
$custom-light: #d7cd73;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b831",
  "rgb": {
    "r": 192,
    "g": 184,
    "b": 49
  },
  "hsl": {
    "h": 56.643,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.76613,
    "c": 0.14821,
    "h": 105.9
  },
  "luminance": 0.45709
}

Semantic roles & 50–950 ramp

primary
#C0B831
secondary
#8286CB
accent
#4EE345
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C0B831

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

Preview Lab → · Contrast checker → · Palette generator →

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