#C8C62F#C8C62F

#C8C62F is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.3% C 0.161 H 108.7°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#C8C62F
RGBrgb(200, 198, 47)
HSLhsl(59, 62%, 48%)
HSVhsv(59, 77%, 78%)
CMYKcmyk(0%, 1%, 76.5%, 21.6%)
CIE-LABlab(77.80, -15.98, 69.87)
CIE-LCHlch(77.80, 71.67, 102.88°)
OKLaboklab(80.32% -0.0517 0.1524)
OKLCHoklch(80.32% 0.161 108.7)
XYZxyz(44.5283, 52.8742, 10.5489)
Luminance0.5287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C62F #2F31C8
analogous
#C8792F #C8C62F #7DC82F
triadic
#C8C62F #2FC8C6 #C62FC8
tetradic
#C8C62F #2FC879 #2F31C8 #C82F7D
square
#C8C62F #2FC879 #2F31C8 #C82F7D
split-complementary
#C8C62F #2F7DC8 #792FC8
monochromatic
#656418 #969523 #C8C62F #D9D75C #E4E38D

Accessibility & contrast

On white

1.81
#C8C62F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#C8C62F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C62F
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C62F#FFFFFF#000000##000000
##C8C62F1.001.8111.5711.57
#FFFFFF1.811.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE02
Deuteranopia (green-blind)
#D9C33C
Tritanopia (blue-blind)
#D7B9AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c8c62f;
/* rgb */ color: rgb(200, 198, 47);
/* oklch */ color: oklch(80.3% 0.161 108.7);
Tailwind
colors: {
  custom: {
    50: '#ddd774',
    500: '#c8c62f',
    950: '#000000',
  },
}
SCSS
$custom: #c8c62f;
$custom-light: #ddd774;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c62f",
  "rgb": {
    "r": 200,
    "g": 198,
    "b": 47
  },
  "hsl": {
    "h": 59.216,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.80315,
    "c": 0.16097,
    "h": 108.7
  },
  "luminance": 0.52873
}

Semantic roles & 50–950 ramp

primary
#C8C62F
secondary
#2C2D6F
accent
#45E543
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C8C62F

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

Preview Lab → · Contrast checker → · Palette generator →

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