#C2C262#C2C262

#C2C262 is a light, moderate yellow. Relative luminance 0.509; OKLCH L 79.4% C 0.119 H 108.8°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#C2C262
RGBrgb(194, 194, 98)
HSLhsl(60, 44%, 57%)
HSVhsv(60, 49%, 76%)
CMYKcmyk(0%, 0%, 49.5%, 23.9%)
CIE-LABlab(76.64, -13.27, 47.81)
CIE-LCHlch(76.64, 49.61, 105.51°)
OKLaboklab(79.4% -0.0385 0.113)
OKLCHoklch(79.4% 0.119 108.8)
XYZxyz(43.7455, 50.9358, 19.0801)
Luminance0.5093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C262 #6262C2
analogous
#C29262 #C2C262 #92C262
triadic
#C2C262 #62C2C2 #C262C2
tetradic
#C2C262 #62C292 #6262C2 #C26292
square
#C2C262 #62C292 #6262C2 #C26292
split-complementary
#C2C262 #6292C2 #9262C2
monochromatic
#7A7A2F #A6A641 #C2C262 #D3D38E #E4E4BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2C262#FFFFFF#000000##000000
##C2C2621.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)
#CFBB59
Deuteranopia (green-blind)
#D1BF67
Tritanopia (blue-blind)
#CEB8AC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c2c262;
/* rgb */ color: rgb(194, 194, 98);
/* oklch */ color: oklch(79.4% 0.119 108.8);
Tailwind
colors: {
  custom: {
    50: '#d6d491',
    500: '#c2c262',
    950: '#000000',
  },
}
SCSS
$custom: #c2c262;
$custom-light: #d6d491;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c262",
  "rgb": {
    "r": 194,
    "g": 194,
    "b": 98
  },
  "hsl": {
    "h": 60,
    "s": 44.037,
    "l": 57.255
  },
  "oklch": {
    "l": 0.79401,
    "c": 0.11939,
    "h": 108.8
  },
  "luminance": 0.50935
}

Semantic roles & 50–950 ramp

primary
#C2C262
secondary
#454583
accent
#54D454
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C2C262

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

Preview Lab → · Contrast checker → · Palette generator →

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