#C0BF30#C0BF30

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

Color values

HEX#C0BF30
RGBrgb(192, 191, 48)
HSLhsl(60, 60%, 47%)
HSVhsv(60, 75%, 75%)
CMYKcmyk(0%, 0.5%, 75%, 24.7%)
CIE-LABlab(75.25, -15.84, 66.98)
CIE-LCHlch(75.25, 68.83, 103.30°)
OKLaboklab(78.12% -0.0508 0.1468)
OKLCHoklch(78.12% 0.155 109.1)
XYZxyz(40.9041, 48.6827, 10.0378)
Luminance0.4868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0BF30 #3031C0
analogous
#C07730 #C0BF30 #79C030
triadic
#C0BF30 #30C0BF #BF30C0
tetradic
#C0BF30 #30C077 #3031C0 #C03079
square
#C0BF30 #30C077 #3031C0 #C03079
split-complementary
#C0BF30 #3079C0 #7730C0
monochromatic
#5E5E18 #8F8E24 #C0BF30 #D5D458 #E1E189

Accessibility & contrast

On white

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

On black

10.74
#C0BF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0BF30
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0BF30#FFFFFF#000000##000000
##C0BF301.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0bf30;
/* rgb */ color: rgb(192, 191, 48);
/* oklch */ color: oklch(78.1% 0.155 109.1);
Tailwind
colors: {
  custom: {
    50: '#d7d274',
    500: '#c0bf30',
    950: '#000000',
  },
}
SCSS
$custom: #c0bf30;
$custom-light: #d7d274;
$custom-dark: #000000;
JSON
{
  "hex": "#c0bf30",
  "rgb": {
    "r": 192,
    "g": 191,
    "b": 48
  },
  "hsl": {
    "h": 59.583,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.78124,
    "c": 0.15533,
    "h": 109.1
  },
  "luminance": 0.48681
}

Semantic roles & 50–950 ramp

primary
#C0BF30
secondary
#8081CB
accent
#46E345
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #C0BF30

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

Preview Lab → · Contrast checker → · Palette generator →

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