#C0BF38#C0BF38

#C0BF38 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.2% C 0.151 H 109.0°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#C0BF38
RGBrgb(192, 191, 56)
HSLhsl(60, 55%, 49%)
HSVhsv(60, 71%, 75%)
CMYKcmyk(0%, 0.5%, 70.8%, 24.7%)
CIE-LABlab(75.30, -15.48, 64.30)
CIE-LCHlch(75.30, 66.14, 103.53°)
OKLaboklab(78.17% -0.0491 0.1425)
OKLCHoklch(78.17% 0.151 109)
XYZxyz(41.0843, 48.7548, 10.9871)
Luminance0.4875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0BF38 #3839C0
analogous
#C07B38 #C0BF38 #7DC038
triadic
#C0BF38 #38C0BF #BF38C0
tetradic
#C0BF38 #38C07B #3839C0 #C0387D
square
#C0BF38 #38C07B #3839C0 #C0387D
split-complementary
#C0BF38 #387DC0 #7B38C0
monochromatic
#61611C #91902A #C0BF38 #D2D164 #DFDF93

Accessibility & contrast

On white

1.95
#C0BF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.75
#C0BF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0BF38
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0BF38#FFFFFF#000000##000000
##C0BF381.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB720
Deuteranopia (green-blind)
#D0BB42
Tritanopia (blue-blind)
#CEB3A5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c0bf38;
/* rgb */ color: rgb(192, 191, 56);
/* oklch */ color: oklch(78.2% 0.151 109.0);
Tailwind
colors: {
  custom: {
    50: '#d7d278',
    500: '#c0bf38',
    950: '#000000',
  },
}
SCSS
$custom: #c0bf38;
$custom-light: #d7d278;
$custom-dark: #000000;
JSON
{
  "hex": "#c0bf38",
  "rgb": {
    "r": 192,
    "g": 191,
    "b": 56
  },
  "hsl": {
    "h": 59.559,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.78174,
    "c": 0.15075,
    "h": 109
  },
  "luminance": 0.48754
}

Semantic roles & 50–950 ramp

primary
#C0BF38
secondary
#898ACB
accent
#4BDE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151409
muted
#83827B

Preview Lab

Preview with #C0BF38

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

Preview Lab → · Contrast checker → · Palette generator →

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