#C7C047#C7C047

#C7C047 is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.1% C 0.140 H 106.0°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#C7C047
RGBrgb(199, 192, 71)
HSLhsl(57, 53%, 53%)
HSVhsv(57, 64%, 78%)
CMYKcmyk(0%, 3.5%, 64.3%, 22%)
CIE-LABlab(76.25, -12.19, 59.63)
CIE-LCHlch(76.25, 60.87, 101.56°)
OKLaboklab(79.11% -0.0387 0.1349)
OKLCHoklch(79.11% 0.14 106)
XYZxyz(43.5417, 50.2978, 13.3749)
Luminance0.5030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C047 #474EC7
analogous
#C78047 #C7C047 #8EC747
triadic
#C7C047 #47C7C0 #C047C7
tetradic
#C7C047 #47C780 #474EC7 #C7478E
square
#C7C047 #47C780 #474EC7 #C7478E
split-complementary
#C7C047 #478EC7 #8047C7
monochromatic
#716D22 #A09A31 #C7C047 #D5D076 #E4E0A5

Accessibility & contrast

On white

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

On black

11.06
#C7C047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C047
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C047#FFFFFF#000000##000000
##C7C0471.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B937
Deuteranopia (green-blind)
#D3BE4E
Tritanopia (blue-blind)
#D5B4A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c7c047;
/* rgb */ color: rgb(199, 192, 71);
/* oklch */ color: oklch(79.1% 0.140 106.0);
Tailwind
colors: {
  custom: {
    50: '#dbd280',
    500: '#c7c047',
    950: '#000000',
  },
}
SCSS
$custom: #c7c047;
$custom-light: #dbd280;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c047",
  "rgb": {
    "r": 199,
    "g": 192,
    "b": 71
  },
  "hsl": {
    "h": 56.719,
    "s": 53.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.79108,
    "c": 0.14039,
    "h": 106
  },
  "luminance": 0.50296
}

Semantic roles & 50–950 ramp

primary
#C7C047
secondary
#383B7A
accent
#53DD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7C047

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

Preview Lab → · Contrast checker → · Palette generator →

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