#C6C262#C6C262

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

Color values

HEX#C6C262
RGBrgb(198, 194, 98)
HSLhsl(58, 47%, 58%)
HSVhsv(58, 51%, 78%)
CMYKcmyk(0%, 2%, 50.5%, 22.4%)
CIE-LABlab(76.96, -11.63, 48.27)
CIE-LCHlch(76.96, 49.65, 103.54°)
OKLaboklab(79.74% -0.0341 0.114)
OKLCHoklch(79.74% 0.119 106.7)
XYZxyz(44.7862, 51.4724, 19.1289)
Luminance0.5147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C262 #6266C6
analogous
#C69062 #C6C262 #98C662
triadic
#C6C262 #62C6C2 #C262C6
tetradic
#C6C262 #62C690 #6266C6 #C66298
square
#C6C262 #62C690 #6266C6 #C66298
split-complementary
#C6C262 #6298C6 #9062C6
monochromatic
#7F7C2E #ACA83F #C6C262 #D6D38F #E7E5BC

Accessibility & contrast

On white

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

On black

11.29
#C6C262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6C262
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6C262#FFFFFF#000000##000000
##C6C2621.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c6c262;
/* rgb */ color: rgb(198, 194, 98);
/* oklch */ color: oklch(79.7% 0.119 106.7);
Tailwind
colors: {
  custom: {
    50: '#d9d491',
    500: '#c6c262',
    950: '#000000',
  },
}
SCSS
$custom: #c6c262;
$custom-light: #d9d491;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c262",
  "rgb": {
    "r": 198,
    "g": 194,
    "b": 98
  },
  "hsl": {
    "h": 57.6,
    "s": 46.729,
    "l": 58.039
  },
  "oklch": {
    "l": 0.79738,
    "c": 0.11894,
    "h": 106.7
  },
  "luminance": 0.51471
}

Semantic roles & 50–950 ramp

primary
#C6C262
secondary
#454787
accent
#57D651
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C6C262

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

Preview Lab → · Contrast checker → · Palette generator →

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