#C7C045#C7C045

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

Color values

HEX#C7C045
RGBrgb(199, 192, 69)
HSLhsl(57, 54%, 53%)
HSVhsv(57, 65%, 78%)
CMYKcmyk(0%, 3.5%, 65.3%, 22%)
CIE-LABlab(76.24, -12.31, 60.44)
CIE-LCHlch(76.24, 61.68, 101.52°)
OKLaboklab(79.09% -0.0393 0.1363)
OKLCHoklch(79.09% 0.142 106.1)
XYZxyz(43.4786, 50.2726, 13.0424)
Luminance0.5027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C045 #454CC7
analogous
#C77F45 #C7C045 #8DC745
triadic
#C7C045 #45C7C0 #C045C7
tetradic
#C7C045 #45C77F #454CC7 #C7458D
square
#C7C045 #45C77F #454CC7 #C7458D
split-complementary
#C7C045 #458DC7 #7F45C7
monochromatic
#706C22 #9F9930 #C7C045 #D5D074 #E3E0A3

Accessibility & contrast

On white

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

On black

11.05
#C7C045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C045
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C045#FFFFFF#000000##000000
##C7C0451.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7c045;
/* rgb */ color: rgb(199, 192, 69);
/* oklch */ color: oklch(79.1% 0.142 106.1);
Tailwind
colors: {
  custom: {
    50: '#dbd27f',
    500: '#c7c045',
    950: '#000000',
  },
}
SCSS
$custom: #c7c045;
$custom-light: #dbd27f;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c045",
  "rgb": {
    "r": 199,
    "g": 192,
    "b": 69
  },
  "hsl": {
    "h": 56.769,
    "s": 53.719,
    "l": 52.549
  },
  "oklch": {
    "l": 0.7909,
    "c": 0.14187,
    "h": 106.1
  },
  "luminance": 0.50271
}

Semantic roles & 50–950 ramp

primary
#C7C045
secondary
#373B79
accent
#53DD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7C045

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

Preview Lab → · Contrast checker → · Palette generator →

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