#C7C748#C7C748

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

Color values

HEX#C7C748
RGBrgb(199, 199, 72)
HSLhsl(60, 53%, 53%)
HSVhsv(60, 64%, 78%)
CMYKcmyk(0%, 0%, 63.8%, 22%)
CIE-LABlab(78.14, -15.67, 61.21)
CIE-LCHlch(78.14, 63.18, 104.36°)
OKLaboklab(80.62% -0.0484 0.1384)
OKLCHoklch(80.62% 0.147 109.3)
XYZxyz(45.1478, 53.4581, 14.0698)
Luminance0.5346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C748 #4848C7
analogous
#C78748 #C7C748 #87C748
triadic
#C7C748 #48C7C7 #C748C7
tetradic
#C7C748 #48C787 #4848C7 #C74887
square
#C7C748 #48C787 #4848C7 #C74887
split-complementary
#C7C748 #4887C7 #8748C7
monochromatic
#727223 #A1A131 #C7C748 #D5D577 #E4E4A6

Accessibility & contrast

On white

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

On black

11.69
#C7C748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C748
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C748#FFFFFF#000000##000000
##C7C7481.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7c748;
/* rgb */ color: rgb(199, 199, 72);
/* oklch */ color: oklch(80.6% 0.147 109.3);
Tailwind
colors: {
  custom: {
    50: '#dbd781',
    500: '#c7c748',
    950: '#000000',
  },
}
SCSS
$custom: #c7c748;
$custom-light: #dbd781;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c748",
  "rgb": {
    "r": 199,
    "g": 199,
    "b": 72
  },
  "hsl": {
    "h": 60,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80619,
    "c": 0.14665,
    "h": 109.3
  },
  "luminance": 0.53457
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7C748

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

Preview Lab → · Contrast checker → · Palette generator →

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