#C7C04E#C7C04E

#C7C04E is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.2% C 0.135 H 105.8°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#C7C04E
RGBrgb(199, 192, 78)
HSLhsl(57, 52%, 54%)
HSVhsv(57, 61%, 78%)
CMYKcmyk(0%, 3.5%, 60.8%, 22%)
CIE-LABlab(76.31, -11.74, 56.72)
CIE-LCHlch(76.31, 57.93, 101.70°)
OKLaboklab(79.17% -0.0367 0.1298)
OKLCHoklch(79.17% 0.135 105.8)
XYZxyz(43.7795, 50.3929, 14.6269)
Luminance0.5039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C04E #4E55C7
analogous
#C7844E #C7C04E #92C74E
triadic
#C7C04E #4EC7C0 #C04EC7
tetradic
#C7C04E #4EC784 #4E55C7 #C74E92
square
#C7C04E #4EC784 #4E55C7 #C74E92
split-complementary
#C7C04E #4E92C7 #844EC7
monochromatic
#757125 #A49D34 #C7C04E #D6D17C #E4E1AB

Accessibility & contrast

On white

1.90
#C7C04E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.08
#C7C04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C04E
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C04E#FFFFFF#000000##000000
##C7C04E1.001.9011.0811.08
#FFFFFF1.901.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB941
Deuteranopia (green-blind)
#D2BF54
Tritanopia (blue-blind)
#D5B4A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c7c04e;
/* rgb */ color: rgb(199, 192, 78);
/* oklch */ color: oklch(79.2% 0.135 105.8);
Tailwind
colors: {
  custom: {
    50: '#dbd284',
    500: '#c7c04e',
    950: '#000000',
  },
}
SCSS
$custom: #c7c04e;
$custom-light: #dbd284;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c04e",
  "rgb": {
    "r": 199,
    "g": 192,
    "b": 78
  },
  "hsl": {
    "h": 56.529,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.79172,
    "c": 0.13488,
    "h": 105.8
  },
  "luminance": 0.50391
}

Semantic roles & 50–950 ramp

primary
#C7C04E
secondary
#3B3F7E
accent
#55DB4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7C04E

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

Preview Lab → · Contrast checker → · Palette generator →

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