#C0BC38#C0BC38

#C0BC38 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.5% C 0.148 H 107.7°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#C0BC38
RGBrgb(192, 188, 56)
HSLhsl(58, 55%, 49%)
HSVhsv(58, 71%, 75%)
CMYKcmyk(0%, 2.1%, 70.8%, 24.7%)
CIE-LABlab(74.48, -13.96, 63.51)
CIE-LCHlch(74.48, 65.02, 102.40°)
OKLaboklab(77.52% -0.0448 0.1409)
OKLCHoklch(77.52% 0.148 107.7)
XYZxyz(40.4368, 47.4598, 10.7712)
Luminance0.4746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0BC38 #383CC0
analogous
#C07838 #C0BC38 #80C038
triadic
#C0BC38 #38C0BC #BC38C0
tetradic
#C0BC38 #38C078 #383CC0 #C03880
square
#C0BC38 #38C078 #383CC0 #C03880
split-complementary
#C0BC38 #3880C0 #7838C0
monochromatic
#615F1C #918E2A #C0BC38 #D2CE64 #DFDD93

Accessibility & contrast

On white

2.00
#C0BC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#C0BC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0BC38
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0BC38#FFFFFF#000000##000000
##C0BC381.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB521
Deuteranopia (green-blind)
#CEB942
Tritanopia (blue-blind)
#CEB0A2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c0bc38;
/* rgb */ color: rgb(192, 188, 56);
/* oklch */ color: oklch(77.5% 0.148 107.7);
Tailwind
colors: {
  custom: {
    50: '#d7cf77',
    500: '#c0bc38',
    950: '#000000',
  },
}
SCSS
$custom: #c0bc38;
$custom-light: #d7cf77;
$custom-dark: #000000;
JSON
{
  "hex": "#c0bc38",
  "rgb": {
    "r": 192,
    "g": 188,
    "b": 56
  },
  "hsl": {
    "h": 58.235,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.77523,
    "c": 0.14782,
    "h": 107.7
  },
  "luminance": 0.47458
}

Semantic roles & 50–950 ramp

primary
#C0BC38
secondary
#898BCB
accent
#4EDE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C0BC38

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

Preview Lab → · Contrast checker → · Palette generator →

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