#C0C438#C0C438

#C0C438 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.3% C 0.156 H 111.1°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#C0C438
RGBrgb(192, 196, 56)
HSLhsl(62, 56%, 49%)
HSVhsv(62, 71%, 77%)
CMYKcmyk(2%, 0%, 71.4%, 23.1%)
CIE-LABlab(76.66, -17.99, 65.62)
CIE-LCHlch(76.66, 68.04, 105.33°)
OKLaboklab(79.26% -0.0561 0.1453)
OKLCHoklch(79.26% 0.156 111.1)
XYZxyz(42.1934, 50.9730, 11.3567)
Luminance0.5097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C438 #3C38C4
analogous
#C48238 #C0C438 #7AC438
triadic
#C0C438 #38C0C4 #C438C0
tetradic
#C0C438 #38C482 #3C38C4 #C4387A
square
#C0C438 #38C482 #3C38C4 #C4387A
split-complementary
#C0C438 #387AC4 #8238C4
monochromatic
#63651D #91942A #C0C438 #D0D366 #DFE196

Accessibility & contrast

On white

1.88
#C0C438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.19
#C0C438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C438
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C438#FFFFFF#000000##000000
##C0C4381.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB1E
Deuteranopia (green-blind)
#D4BF43
Tritanopia (blue-blind)
#CDB8A9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c0c438;
/* rgb */ color: rgb(192, 196, 56);
/* oklch */ color: oklch(79.3% 0.156 111.1);
Tailwind
colors: {
  custom: {
    50: '#d7d578',
    500: '#c0c438',
    950: '#000000',
  },
}
SCSS
$custom: #c0c438;
$custom-light: #d7d578;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c438",
  "rgb": {
    "r": 192,
    "g": 196,
    "b": 56
  },
  "hsl": {
    "h": 61.714,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.79264,
    "c": 0.15577,
    "h": 111.1
  },
  "luminance": 0.50972
}

Semantic roles & 50–950 ramp

primary
#C0C438
secondary
#33316F
accent
#49DF4D
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C0C438

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

Preview Lab → · Contrast checker → · Palette generator →

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