#C8C52F#C8C52F

#C8C52F is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.1% C 0.160 H 108.3°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#C8C52F
RGBrgb(200, 197, 47)
HSLhsl(59, 62%, 48%)
HSVhsv(59, 77%, 78%)
CMYKcmyk(0%, 1.5%, 76.5%, 21.6%)
CIE-LABlab(77.53, -15.48, 69.62)
CIE-LCHlch(77.53, 71.32, 102.54°)
OKLaboklab(80.1% -0.0503 0.1519)
OKLCHoklch(80.1% 0.16 108.3)
XYZxyz(44.3005, 52.4186, 10.4730)
Luminance0.5242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C52F #2F32C8
analogous
#C8792F #C8C52F #7EC82F
triadic
#C8C52F #2FC8C5 #C52FC8
tetradic
#C8C52F #2FC879 #2F32C8 #C82F7E
square
#C8C52F #2FC879 #2F32C8 #C82F7E
split-complementary
#C8C52F #2F7EC8 #792FC8
monochromatic
#656318 #969423 #C8C52F #D9D65C #E4E38D

Accessibility & contrast

On white

1.83
#C8C52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#C8C52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C52F
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C52F#FFFFFF#000000##000000
##C8C52F1.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD03
Deuteranopia (green-blind)
#D8C23C
Tritanopia (blue-blind)
#D7B8A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c8c52f;
/* rgb */ color: rgb(200, 197, 47);
/* oklch */ color: oklch(80.1% 0.160 108.3);
Tailwind
colors: {
  custom: {
    50: '#ddd674',
    500: '#c8c52f',
    950: '#000000',
  },
}
SCSS
$custom: #c8c52f;
$custom-light: #ddd674;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c52f",
  "rgb": {
    "r": 200,
    "g": 197,
    "b": 47
  },
  "hsl": {
    "h": 58.824,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.80099,
    "c": 0.16003,
    "h": 108.3
  },
  "luminance": 0.52417
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8C52F

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

Preview Lab → · Contrast checker → · Palette generator →

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