#C8C362#C8C362

#C8C362 is a light, moderate yellow. Relative luminance 0.522; OKLCH L 80.1% C 0.120 H 106.1°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#C8C362
RGBrgb(200, 195, 98)
HSLhsl(57, 48%, 58%)
HSVhsv(57, 51%, 78%)
CMYKcmyk(0%, 2.5%, 51%, 21.6%)
CIE-LABlab(77.40, -11.32, 48.82)
CIE-LCHlch(77.40, 50.11, 103.05°)
OKLaboklab(80.12% -0.0333 0.1151)
OKLCHoklch(80.12% 0.12 106.1)
XYZxyz(45.5403, 52.1927, 19.2282)
Luminance0.5219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C362 #6267C8
analogous
#C89062 #C8C362 #9AC862
triadic
#C8C362 #62C8C3 #C362C8
tetradic
#C8C362 #62C890 #6267C8 #C8629A
square
#C8C362 #62C890 #6267C8 #C8629A
split-complementary
#C8C362 #629AC8 #9062C8
monochromatic
#827E2E #AFAA3D #C8C362 #D8D48F #E8E6BD

Accessibility & contrast

On white

1.84
#C8C362 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#C8C362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C362
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C362#FFFFFF#000000##000000
##C8C3621.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BD59
Deuteranopia (green-blind)
#D3C167
Tritanopia (blue-blind)
#D4B8AD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c8c362;
/* rgb */ color: rgb(200, 195, 98);
/* oklch */ color: oklch(80.1% 0.120 106.1);
Tailwind
colors: {
  custom: {
    50: '#dbd591',
    500: '#c8c362',
    950: '#000000',
  },
}
SCSS
$custom: #c8c362;
$custom-light: #dbd591;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c362",
  "rgb": {
    "r": 200,
    "g": 195,
    "b": 98
  },
  "hsl": {
    "h": 57.059,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80121,
    "c": 0.11984,
    "h": 106.1
  },
  "luminance": 0.52191
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8C362

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

Preview Lab → · Contrast checker → · Palette generator →

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