#C0BF2D#C0BF2D

#C0BF2D is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.1% C 0.157 H 109.1°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#C0BF2D
RGBrgb(192, 191, 45)
HSLhsl(60, 62%, 46%)
HSVhsv(60, 77%, 75%)
CMYKcmyk(0%, 0.5%, 76.6%, 24.7%)
CIE-LABlab(75.24, -15.96, 67.91)
CIE-LCHlch(75.24, 69.76, 103.22°)
OKLaboklab(78.11% -0.0514 0.1482)
OKLCHoklch(78.11% 0.157 109.1)
XYZxyz(40.8442, 48.6588, 9.7227)
Luminance0.4866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0BF2D #2D2EC0
analogous
#C0762D #C0BF2D #78C02D
triadic
#C0BF2D #2DC0BF #BF2DC0
tetradic
#C0BF2D #2DC076 #2D2EC0 #C02D78
square
#C0BF2D #2DC076 #2D2EC0 #C02D78
split-complementary
#C0BF2D #2D78C0 #762DC0
monochromatic
#5D5C16 #8E8E21 #C0BF2D #D7D653 #E2E285

Accessibility & contrast

On white

1.96
#C0BF2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#C0BF2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0BF2D
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0BF2D#FFFFFF#000000##000000
##C0BF2D1.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB702
Deuteranopia (green-blind)
#D1BB39
Tritanopia (blue-blind)
#CEB2A4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c0bf2d;
/* rgb */ color: rgb(192, 191, 45);
/* oklch */ color: oklch(78.1% 0.157 109.1);
Tailwind
colors: {
  custom: {
    50: '#d7d272',
    500: '#c0bf2d',
    950: '#000000',
  },
}
SCSS
$custom: #c0bf2d;
$custom-light: #d7d272;
$custom-dark: #000000;
JSON
{
  "hex": "#c0bf2d",
  "rgb": {
    "r": 192,
    "g": 191,
    "b": 45
  },
  "hsl": {
    "h": 59.592,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.78107,
    "c": 0.15689,
    "h": 109.1
  },
  "luminance": 0.48658
}

Semantic roles & 50–950 ramp

primary
#C0BF2D
secondary
#7D7ECC
accent
#44E543
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #C0BF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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