#C8C262#C8C262

#C8C262 is a light, moderate yellow. Relative luminance 0.517; OKLCH L 79.9% C 0.119 H 105.6°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#C8C262
RGBrgb(200, 194, 98)
HSLhsl(56, 48%, 58%)
HSVhsv(56, 51%, 78%)
CMYKcmyk(0%, 3%, 51%, 21.6%)
CIE-LABlab(77.13, -10.81, 48.50)
CIE-LCHlch(77.13, 49.69, 102.56°)
OKLaboklab(79.91% -0.0319 0.1144)
OKLCHoklch(79.91% 0.119 105.6)
XYZxyz(45.3170, 51.7461, 19.1537)
Luminance0.5174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C262 #6268C8
analogous
#C88F62 #C8C262 #9BC862
triadic
#C8C262 #62C8C2 #C262C8
tetradic
#C8C262 #62C88F #6268C8 #C8629B
square
#C8C262 #62C88F #6268C8 #C8629B
split-complementary
#C8C262 #629BC8 #8F62C8
monochromatic
#827D2E #AFA93D #C8C262 #D8D48F #E8E5BD

Accessibility & contrast

On white

1.85
#C8C262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#C8C262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C262
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C262#FFFFFF#000000##000000
##C8C2621.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8c262;
/* rgb */ color: rgb(200, 194, 98);
/* oklch */ color: oklch(79.9% 0.119 105.6);
Tailwind
colors: {
  custom: {
    50: '#dbd491',
    500: '#c8c262',
    950: '#000000',
  },
}
SCSS
$custom: #c8c262;
$custom-light: #dbd491;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c262",
  "rgb": {
    "r": 200,
    "g": 194,
    "b": 98
  },
  "hsl": {
    "h": 56.471,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.79909,
    "c": 0.11878,
    "h": 105.6
  },
  "luminance": 0.51745
}

Semantic roles & 50–950 ramp

primary
#C8C262
secondary
#44488A
accent
#58D850
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C8C262

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

Preview Lab → · Contrast checker → · Palette generator →

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