#C0CB38#C0CB38

#C0CB38 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 80.8% C 0.163 H 113.8°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#C0CB38
RGBrgb(192, 203, 56)
HSLhsl(64, 59%, 51%)
HSVhsv(64, 72%, 80%)
CMYKcmyk(5.4%, 0%, 72.4%, 20.4%)
CIE-LABlab(78.58, -21.45, 67.46)
CIE-LCHlch(78.58, 70.79, 107.64°)
OKLaboklab(80.8% -0.0657 0.1492)
OKLCHoklch(80.8% 0.163 113.8)
XYZxyz(43.8093, 54.2048, 11.8954)
Luminance0.5420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CB38 #4338CB
analogous
#CB8C38 #C0CB38 #76CB38
triadic
#C0CB38 #38C0CB #CB38C0
tetradic
#C0CB38 #38CB8C #4338CB #CB3876
square
#C0CB38 #38CB8C #4338CB #CB3876
split-complementary
#C0CB38 #3876CB #8C38CB
monochromatic
#666C1C #949D29 #C0CB38 #CFD869 #DFE499

Accessibility & contrast

On white

1.77
#C0CB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#C0CB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CB38
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CB38#FFFFFF#000000##000000
##C0CB381.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC11B
Deuteranopia (green-blind)
#DAC444
Tritanopia (blue-blind)
#CDBFAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c0cb38;
/* rgb */ color: rgb(192, 203, 56);
/* oklch */ color: oklch(80.8% 0.163 113.8);
Tailwind
colors: {
  custom: {
    50: '#d7da79',
    500: '#c0cb38',
    950: '#000000',
  },
}
SCSS
$custom: #c0cb38;
$custom-light: #d7da79;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cb38",
  "rgb": {
    "r": 192,
    "g": 203,
    "b": 56
  },
  "hsl": {
    "h": 64.49,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.808,
    "c": 0.16305,
    "h": 113.8
  },
  "luminance": 0.54204
}

Semantic roles & 50–950 ramp

primary
#C0CB38
secondary
#363176
accent
#46E252
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C0CB38

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

Preview Lab → · Contrast checker → · Palette generator →

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