#C0C233#C0C233

#C0C233 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 78.8% C 0.157 H 110.3°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#C0C233
RGBrgb(192, 194, 51)
HSLhsl(61, 58%, 48%)
HSVhsv(61, 74%, 76%)
CMYKcmyk(1%, 0%, 73.7%, 23.9%)
CIE-LABlab(76.09, -17.22, 66.78)
CIE-LCHlch(76.09, 68.96, 104.46°)
OKLaboklab(78.8% -0.0544 0.1469)
OKLCHoklch(78.8% 0.157 110.3)
XYZxyz(41.6290, 50.0302, 10.5952)
Luminance0.5003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C233 #3533C2
analogous
#C27C33 #C0C233 #78C233
triadic
#C0C233 #33C0C2 #C233C0
tetradic
#C0C233 #33C27C #3533C2 #C23378
square
#C0C233 #33C27C #3533C2 #C23378
split-complementary
#C0C233 #3378C2 #7C33C2
monochromatic
#60611A #909226 #C0C233 #D3D55E #E0E18E

Accessibility & contrast

On white

1.91
#C0C233 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#C0C233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C233
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C233#FFFFFF#000000##000000
##C0C2331.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2B914
Deuteranopia (green-blind)
#D3BE3F
Tritanopia (blue-blind)
#CEB6A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c0c233;
/* rgb */ color: rgb(192, 194, 51);
/* oklch */ color: oklch(78.8% 0.157 110.3);
Tailwind
colors: {
  custom: {
    50: '#d7d476',
    500: '#c0c233',
    950: '#000000',
  },
}
SCSS
$custom: #c0c233;
$custom-light: #d7d476;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c233",
  "rgb": {
    "r": 192,
    "g": 194,
    "b": 51
  },
  "hsl": {
    "h": 60.839,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.78795,
    "c": 0.15665,
    "h": 110.3
  },
  "luminance": 0.50029
}

Semantic roles & 50–950 ramp

primary
#C0C233
secondary
#2E2D6C
accent
#46E248
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C0C233

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

Preview Lab → · Contrast checker → · Palette generator →

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