#C8C148#C8C148

#C8C148 is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.4% C 0.140 H 106.0°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#C8C148
RGBrgb(200, 193, 72)
HSLhsl(57, 54%, 53%)
HSVhsv(57, 64%, 78%)
CMYKcmyk(0%, 3.5%, 64%, 21.6%)
CIE-LABlab(76.61, -12.22, 59.62)
CIE-LCHlch(76.61, 60.86, 101.58°)
OKLaboklab(79.42% -0.0387 0.1351)
OKLCHoklch(79.42% 0.14 106)
XYZxyz(44.0607, 50.8887, 13.6312)
Luminance0.5089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C148 #484FC8
analogous
#C88148 #C8C148 #8FC848
triadic
#C8C148 #48C8C1 #C148C8
tetradic
#C8C148 #48C881 #484FC8 #C8488F
square
#C8C148 #48C881 #484FC8 #C8488F
split-complementary
#C8C148 #488FC8 #8148C8
monochromatic
#736F23 #A29C31 #C8C148 #D6D177 #E4E1A6

Accessibility & contrast

On white

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

On black

11.18
#C8C148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C148
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C148#FFFFFF#000000##000000
##C8C1481.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8c148;
/* rgb */ color: rgb(200, 193, 72);
/* oklch */ color: oklch(79.4% 0.140 106.0);
Tailwind
colors: {
  custom: {
    50: '#dcd381',
    500: '#c8c148',
    950: '#000000',
  },
}
SCSS
$custom: #c8c148;
$custom-light: #dcd381;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c148",
  "rgb": {
    "r": 200,
    "g": 193,
    "b": 72
  },
  "hsl": {
    "h": 56.719,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.79417,
    "c": 0.14049,
    "h": 106
  },
  "luminance": 0.50887
}

Semantic roles & 50–950 ramp

primary
#C8C148
secondary
#383C7C
accent
#53DD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C8C148

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

Preview Lab → · Contrast checker → · Palette generator →

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