#C5C262#C5C262

#C5C262 is a light, moderate yellow. Relative luminance 0.513; OKLCH L 79.7% C 0.119 H 107.2°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#C5C262
RGBrgb(197, 194, 98)
HSLhsl(58, 46%, 58%)
HSVhsv(58, 50%, 77%)
CMYKcmyk(0%, 1.5%, 50.3%, 22.7%)
CIE-LABlab(76.88, -12.04, 48.15)
CIE-LCHlch(76.88, 49.63, 104.04°)
OKLaboklab(79.65% -0.0352 0.1137)
OKLCHoklch(79.65% 0.119 107.2)
XYZxyz(44.5234, 51.3369, 19.1166)
Luminance0.5134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C262 #6265C5
analogous
#C59062 #C5C262 #96C562
triadic
#C5C262 #62C5C2 #C262C5
tetradic
#C5C262 #62C590 #6265C5 #C56296
square
#C5C262 #62C590 #6265C5 #C56296
split-complementary
#C5C262 #6296C5 #9062C5
monochromatic
#7E7C2F #ABA73F #C5C262 #D6D38F #E6E5BB

Accessibility & contrast

On white

1.86
#C5C262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#C5C262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C262
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C262#FFFFFF#000000##000000
##C5C2621.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BC59
Deuteranopia (green-blind)
#D2C067
Tritanopia (blue-blind)
#D1B7AC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c5c262;
/* rgb */ color: rgb(197, 194, 98);
/* oklch */ color: oklch(79.7% 0.119 107.2);
Tailwind
colors: {
  custom: {
    50: '#d8d491',
    500: '#c5c262',
    950: '#000000',
  },
}
SCSS
$custom: #c5c262;
$custom-light: #d8d491;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c262",
  "rgb": {
    "r": 197,
    "g": 194,
    "b": 98
  },
  "hsl": {
    "h": 58.182,
    "s": 46.047,
    "l": 57.843
  },
  "oklch": {
    "l": 0.79653,
    "c": 0.11904,
    "h": 107.2
  },
  "luminance": 0.51336
}

Semantic roles & 50–950 ramp

primary
#C5C262
secondary
#454786
accent
#56D652
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C5C262

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

Preview Lab → · Contrast checker → · Palette generator →

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