#C7C74A#C7C74A

#C7C74A is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.6% C 0.145 H 109.3°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#C7C74A
RGBrgb(199, 199, 74)
HSLhsl(60, 53%, 54%)
HSVhsv(60, 63%, 78%)
CMYKcmyk(0%, 0%, 62.8%, 22%)
CIE-LABlab(78.16, -15.55, 60.40)
CIE-LCHlch(78.16, 62.37, 104.44°)
OKLaboklab(80.64% -0.0479 0.137)
OKLCHoklch(80.64% 0.145 109.3)
XYZxyz(45.2141, 53.4846, 14.4191)
Luminance0.5348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C74A #4A4AC7
analogous
#C7884A #C7C74A #88C74A
triadic
#C7C74A #4AC7C7 #C74AC7
tetradic
#C7C74A #4AC788 #4A4AC7 #C74A88
square
#C7C74A #4AC788 #4A4AC7 #C74A88
split-complementary
#C7C74A #4A88C7 #884AC7
monochromatic
#737324 #A2A232 #C7C74A #D5D579 #E4E4A7

Accessibility & contrast

On white

1.80
#C7C74A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#C7C74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C74A
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C74A#FFFFFF#000000##000000
##C7C74A1.001.8011.7011.70
#FFFFFF1.801.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF3A
Deuteranopia (green-blind)
#D8C352
Tritanopia (blue-blind)
#D4BBAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c7c74a;
/* rgb */ color: rgb(199, 199, 74);
/* oklch */ color: oklch(80.6% 0.145 109.3);
Tailwind
colors: {
  custom: {
    50: '#dbd782',
    500: '#c7c74a',
    950: '#000000',
  },
}
SCSS
$custom: #c7c74a;
$custom-light: #dbd782;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c74a",
  "rgb": {
    "r": 199,
    "g": 199,
    "b": 74
  },
  "hsl": {
    "h": 60,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80637,
    "c": 0.14514,
    "h": 109.3
  },
  "luminance": 0.53483
}

Semantic roles & 50–950 ramp

primary
#C7C74A
secondary
#39397C
accent
#4CDC4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7C74A

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

Preview Lab → · Contrast checker → · Palette generator →

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