#C7C154#C7C154

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

Color values

HEX#C7C154
RGBrgb(199, 193, 84)
HSLhsl(57, 51%, 55%)
HSVhsv(57, 58%, 78%)
CMYKcmyk(0%, 3%, 57.8%, 22%)
CIE-LABlab(76.63, -11.83, 54.42)
CIE-LCHlch(76.63, 55.70, 102.26°)
OKLaboklab(79.45% -0.0362 0.1257)
OKLCHoklch(79.45% 0.131 106.1)
XYZxyz(44.2248, 50.9235, 15.8854)
Luminance0.5092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C154 #545AC7
analogous
#C78854 #C7C154 #93C754
triadic
#C7C154 #54C7C1 #C154C7
tetradic
#C7C154 #54C788 #545AC7 #C75493
square
#C7C154 #54C788 #545AC7 #C75493
split-complementary
#C7C154 #5493C7 #8854C7
monochromatic
#797528 #A7A137 #C7C154 #D6D282 #E5E2B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7C154#FFFFFF#000000##000000
##C7C1541.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)
#D0BA48
Deuteranopia (green-blind)
#D3BF5A
Tritanopia (blue-blind)
#D4B5A9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c7c154;
/* rgb */ color: rgb(199, 193, 84);
/* oklch */ color: oklch(79.4% 0.131 106.1);
Tailwind
colors: {
  custom: {
    50: '#dbd388',
    500: '#c7c154',
    950: '#000000',
  },
}
SCSS
$custom: #c7c154;
$custom-light: #dbd388;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c154",
  "rgb": {
    "r": 199,
    "g": 193,
    "b": 84
  },
  "hsl": {
    "h": 56.87,
    "s": 50.661,
    "l": 55.49
  },
  "oklch": {
    "l": 0.79447,
    "c": 0.13081,
    "h": 106.1
  },
  "luminance": 0.50922
}

Semantic roles & 50–950 ramp

primary
#C7C154
secondary
#3E4182
accent
#55DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C7C154

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

Preview Lab → · Contrast checker → · Palette generator →

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