#C7C153#C7C153

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

Color values

HEX#C7C153
RGBrgb(199, 193, 83)
HSLhsl(57, 51%, 55%)
HSVhsv(57, 58%, 78%)
CMYKcmyk(0%, 3%, 58.3%, 22%)
CIE-LABlab(76.62, -11.90, 54.86)
CIE-LCHlch(76.62, 56.14, 102.24°)
OKLaboklab(79.44% -0.0366 0.1265)
OKLCHoklch(79.44% 0.132 106.1)
XYZxyz(44.1859, 50.9080, 15.6806)
Luminance0.5091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C153 #5359C7
analogous
#C78753 #C7C153 #93C753
triadic
#C7C153 #53C7C1 #C153C7
tetradic
#C7C153 #53C787 #5359C7 #C75393
square
#C7C153 #53C787 #5359C7 #C75393
split-complementary
#C7C153 #5393C7 #8753C7
monochromatic
#787427 #A7A136 #C7C153 #D6D281 #E5E2AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7C153#FFFFFF#000000##000000
##C7C1531.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)
#D0BA47
Deuteranopia (green-blind)
#D3BF59
Tritanopia (blue-blind)
#D4B5A9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c7c153;
/* rgb */ color: rgb(199, 193, 83);
/* oklch */ color: oklch(79.4% 0.132 106.1);
Tailwind
colors: {
  custom: {
    50: '#dbd387',
    500: '#c7c153',
    950: '#000000',
  },
}
SCSS
$custom: #c7c153;
$custom-light: #dbd387;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c153",
  "rgb": {
    "r": 199,
    "g": 193,
    "b": 83
  },
  "hsl": {
    "h": 56.897,
    "s": 50.877,
    "l": 55.294
  },
  "oklch": {
    "l": 0.79436,
    "c": 0.13168,
    "h": 106.1
  },
  "luminance": 0.50907
}

Semantic roles & 50–950 ramp

primary
#C7C153
secondary
#3D4181
accent
#55DA4D
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #C7C153

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

Preview Lab → · Contrast checker → · Palette generator →

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