#C8C145#C8C145

#C8C145 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.4% C 0.143 H 106.1°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#C8C145
RGBrgb(200, 193, 69)
HSLhsl(57, 54%, 53%)
HSVhsv(57, 66%, 78%)
CMYKcmyk(0%, 3.5%, 65.5%, 21.6%)
CIE-LABlab(76.59, -12.40, 60.83)
CIE-LCHlch(76.59, 62.08, 101.52°)
OKLaboklab(79.39% -0.0396 0.1371)
OKLCHoklch(79.39% 0.143 106.1)
XYZxyz(43.9652, 50.8505, 13.1283)
Luminance0.5085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C145 #454CC8
analogous
#C87F45 #C8C145 #8DC845
triadic
#C8C145 #45C8C1 #C145C8
tetradic
#C8C145 #45C87F #454CC8 #C8458D
square
#C8C145 #45C87F #454CC8 #C8458D
split-complementary
#C8C145 #458DC8 #7F45C8
monochromatic
#716D21 #A09A2F #C8C145 #D6D174 #E4E0A3

Accessibility & contrast

On white

1.88
#C8C145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#C8C145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C145
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C145#FFFFFF#000000##000000
##C8C1451.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA34
Deuteranopia (green-blind)
#D4BF4D
Tritanopia (blue-blind)
#D6B5A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c8c145;
/* rgb */ color: rgb(200, 193, 69);
/* oklch */ color: oklch(79.4% 0.143 106.1);
Tailwind
colors: {
  custom: {
    50: '#dcd37f',
    500: '#c8c145',
    950: '#000000',
  },
}
SCSS
$custom: #c8c145;
$custom-light: #dcd37f;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c145",
  "rgb": {
    "r": 200,
    "g": 193,
    "b": 69
  },
  "hsl": {
    "h": 56.794,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79391,
    "c": 0.14272,
    "h": 106.1
  },
  "luminance": 0.50849
}

Semantic roles & 50–950 ramp

primary
#C8C145
secondary
#373A7A
accent
#52DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C8C145

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

Preview Lab → · Contrast checker → · Palette generator →

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