#C0C262#C0C262

#C0C262 is a light, moderate yellow. Relative luminance 0.507; OKLCH L 79.2% C 0.120 H 109.9°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#C0C262
RGBrgb(192, 194, 98)
HSLhsl(61, 44%, 57%)
HSVhsv(61, 49%, 76%)
CMYKcmyk(1%, 0%, 49.5%, 23.9%)
CIE-LABlab(76.48, -14.09, 47.58)
CIE-LCHlch(76.48, 49.62, 106.49°)
OKLaboklab(79.24% -0.0408 0.1125)
OKLCHoklch(79.24% 0.12 109.9)
XYZxyz(43.2355, 50.6728, 19.0562)
Luminance0.5067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0C262 #6462C2
analogous
#C29462 #C0C262 #90C262
triadic
#C0C262 #62C0C2 #C262C0
tetradic
#C0C262 #62C294 #6462C2 #C26290
square
#C0C262 #62C294 #6462C2 #C26290
split-complementary
#C0C262 #6290C2 #9462C2
monochromatic
#797A2F #A4A641 #C0C262 #D2D38E #E3E4BA

Accessibility & contrast

On white

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

On black

11.13
#C0C262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0C262
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0C262#FFFFFF#000000##000000
##C0C2621.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB59
Deuteranopia (green-blind)
#D0BE67
Tritanopia (blue-blind)
#CBB8AC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c0c262;
/* rgb */ color: rgb(192, 194, 98);
/* oklch */ color: oklch(79.2% 0.120 109.9);
Tailwind
colors: {
  custom: {
    50: '#d5d491',
    500: '#c0c262',
    950: '#000000',
  },
}
SCSS
$custom: #c0c262;
$custom-light: #d5d491;
$custom-dark: #000000;
JSON
{
  "hex": "#c0c262",
  "rgb": {
    "r": 192,
    "g": 194,
    "b": 98
  },
  "hsl": {
    "h": 61.25,
    "s": 44.037,
    "l": 57.255
  },
  "oklch": {
    "l": 0.79235,
    "c": 0.11968,
    "h": 109.9
  },
  "luminance": 0.50672
}

Semantic roles & 50–950 ramp

primary
#C0C262
secondary
#474583
accent
#54D457
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140D
muted
#83837F

Preview Lab

Preview with #C0C262

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

Preview Lab → · Contrast checker → · Palette generator →

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