#C7C848#C7C848

#C7C848 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 80.8% C 0.148 H 109.7°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#C7C848
RGBrgb(199, 200, 72)
HSLhsl(60, 54%, 53%)
HSVhsv(60, 64%, 78%)
CMYKcmyk(0.5%, 0%, 64%, 21.6%)
CIE-LABlab(78.41, -16.17, 61.49)
CIE-LCHlch(78.41, 63.58, 104.74°)
OKLaboklab(80.84% -0.0498 0.139)
OKLCHoklch(80.84% 0.148 109.7)
XYZxyz(45.3786, 53.9198, 14.1468)
Luminance0.5392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C848 #4948C8
analogous
#C88948 #C7C848 #87C848
triadic
#C7C848 #48C7C8 #C848C7
tetradic
#C7C848 #48C889 #4948C8 #C84887
square
#C7C848 #48C889 #4948C8 #C84887
split-complementary
#C7C848 #4887C8 #8948C8
monochromatic
#727323 #A1A231 #C7C848 #D5D677 #E4E4A6

Accessibility & contrast

On white

1.78
#C7C848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#C7C848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C848
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C848#FFFFFF#000000##000000
##C7C8481.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C037
Deuteranopia (green-blind)
#D9C450
Tritanopia (blue-blind)
#D4BCAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c7c848;
/* rgb */ color: rgb(199, 200, 72);
/* oklch */ color: oklch(80.8% 0.148 109.7);
Tailwind
colors: {
  custom: {
    50: '#dbd881',
    500: '#c7c848',
    950: '#000000',
  },
}
SCSS
$custom: #c7c848;
$custom-light: #dbd881;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c848",
  "rgb": {
    "r": 199,
    "g": 200,
    "b": 72
  },
  "hsl": {
    "h": 60.469,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.80835,
    "c": 0.14767,
    "h": 109.7
  },
  "luminance": 0.53919
}

Semantic roles & 50–950 ramp

primary
#C7C848
secondary
#39387C
accent
#4BDD4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7C848

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

Preview Lab → · Contrast checker → · Palette generator →

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