#C7C94B#C7C94B

#C7C94B is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.1% C 0.146 H 110.1°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#C7C94B
RGBrgb(199, 201, 75)
HSLhsl(61, 54%, 54%)
HSVhsv(61, 63%, 79%)
CMYKcmyk(1%, 0%, 62.7%, 21.2%)
CIE-LABlab(78.71, -16.49, 60.57)
CIE-LCHlch(78.71, 62.77, 105.23°)
OKLaboklab(81.08% -0.0504 0.1375)
OKLCHoklch(81.08% 0.146 110.1)
XYZxyz(45.7112, 54.4246, 14.7523)
Luminance0.5442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C94B #4D4BC9
analogous
#C98C4B #C7C94B #88C94B
triadic
#C7C94B #4BC7C9 #C94BC7
tetradic
#C7C94B #4BC98C #4D4BC9 #C94B88
square
#C7C94B #4BC98C #4D4BC9 #C94B88
split-complementary
#C7C94B #4B88C9 #8C4BC9
monochromatic
#757623 #A3A532 #C7C94B #D6D77A #E4E5A9

Accessibility & contrast

On white

1.77
#C7C94B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#C7C94B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C94B
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C94B#FFFFFF#000000##000000
##C7C94B1.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C13B
Deuteranopia (green-blind)
#D9C553
Tritanopia (blue-blind)
#D4BDAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c7c94b;
/* rgb */ color: rgb(199, 201, 75);
/* oklch */ color: oklch(81.1% 0.146 110.1);
Tailwind
colors: {
  custom: {
    50: '#dbd983',
    500: '#c7c94b',
    950: '#000000',
  },
}
SCSS
$custom: #c7c94b;
$custom-light: #dbd983;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c94b",
  "rgb": {
    "r": 199,
    "g": 201,
    "b": 75
  },
  "hsl": {
    "h": 60.952,
    "s": 53.846,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81077,
    "c": 0.14647,
    "h": 110.1
  },
  "luminance": 0.54423
}

Semantic roles & 50–950 ramp

primary
#C7C94B
secondary
#3A397F
accent
#4BDD4D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7C94B

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

Preview Lab → · Contrast checker → · Palette generator →

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