#C0C338#C0C338

#C0C338 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.0% C 0.155 H 110.7°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#C0C338
RGBrgb(192, 195, 56)
HSLhsl(61, 55%, 49%)
HSVhsv(61, 71%, 76%)
CMYKcmyk(1.5%, 0%, 71.3%, 23.5%)
CIE-LABlab(76.39, -17.49, 65.36)
CIE-LCHlch(76.39, 67.65, 104.98°)
OKLaboklab(79.05% -0.0547 0.1448)
OKLCHoklch(79.05% 0.155 110.7)
XYZxyz(41.9686, 50.5233, 11.2818)
Luminance0.5052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C338 #3B38C3
analogous
#C38138 #C0C338 #7BC338
triadic
#C0C338 #38C0C3 #C338C0
tetradic
#C0C338 #38C381 #3B38C3 #C3387B
square
#C0C338 #38C381 #3B38C3 #C3387B
split-complementary
#C0C338 #387BC3 #8138C3
monochromatic
#62641D #91932A #C0C338 #D1D365 #DFE195

Accessibility & contrast

On white

1.89
#C0C338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.10
#C0C338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C338
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C338#FFFFFF#000000##000000
##C0C3381.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA1E
Deuteranopia (green-blind)
#D3BE43
Tritanopia (blue-blind)
#CDB7A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c0c338;
/* rgb */ color: rgb(192, 195, 56);
/* oklch */ color: oklch(79.0% 0.155 110.7);
Tailwind
colors: {
  custom: {
    50: '#d7d478',
    500: '#c0c338',
    950: '#000000',
  },
}
SCSS
$custom: #c0c338;
$custom-light: #d7d478;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c338",
  "rgb": {
    "r": 192,
    "g": 195,
    "b": 56
  },
  "hsl": {
    "h": 61.295,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.79045,
    "c": 0.15476,
    "h": 110.7
  },
  "luminance": 0.50522
}

Semantic roles & 50–950 ramp

primary
#C0C338
secondary
#32316E
accent
#49DF4C
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C0C338

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

Preview Lab → · Contrast checker → · Palette generator →

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