#C7C745#C7C745

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

Color values

HEX#C7C745
RGBrgb(199, 199, 69)
HSLhsl(60, 54%, 53%)
HSVhsv(60, 65%, 78%)
CMYKcmyk(0%, 0%, 65.3%, 22%)
CIE-LABlab(78.12, -15.85, 62.39)
CIE-LCHlch(78.12, 64.37, 104.26°)
OKLaboklab(80.59% -0.0492 0.1404)
OKLCHoklch(80.59% 0.149 109.3)
XYZxyz(45.0523, 53.4199, 13.5669)
Luminance0.5342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C745 #4545C7
analogous
#C78645 #C7C745 #86C745
triadic
#C7C745 #45C7C7 #C745C7
tetradic
#C7C745 #45C786 #4545C7 #C74586
square
#C7C745 #45C786 #4545C7 #C74586
split-complementary
#C7C745 #4586C7 #8645C7
monochromatic
#707022 #9F9F30 #C7C745 #D5D574 #E3E3A3

Accessibility & contrast

On white

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

On black

11.68
#C7C745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C745
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C745#FFFFFF#000000##000000
##C7C7451.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF33
Deuteranopia (green-blind)
#D8C34E
Tritanopia (blue-blind)
#D5BBAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c7c745;
/* rgb */ color: rgb(199, 199, 69);
/* oklch */ color: oklch(80.6% 0.149 109.3);
Tailwind
colors: {
  custom: {
    50: '#dbd780',
    500: '#c7c745',
    950: '#000000',
  },
}
SCSS
$custom: #c7c745;
$custom-light: #dbd780;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c745",
  "rgb": {
    "r": 199,
    "g": 199,
    "b": 69
  },
  "hsl": {
    "h": 60,
    "s": 53.719,
    "l": 52.549
  },
  "oklch": {
    "l": 0.80594,
    "c": 0.14882,
    "h": 109.3
  },
  "luminance": 0.53419
}

Semantic roles & 50–950 ramp

primary
#C7C745
secondary
#373779
accent
#4BDD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7C745

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

Preview Lab → · Contrast checker → · Palette generator →

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