#C7C039#C7C039

#C7C039 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.0% C 0.150 H 106.4°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#C7C039
RGBrgb(199, 192, 57)
HSLhsl(57, 56%, 50%)
HSVhsv(57, 71%, 78%)
CMYKcmyk(0%, 3.5%, 71.4%, 22%)
CIE-LABlab(76.15, -12.95, 64.97)
CIE-LCHlch(76.15, 66.25, 101.28°)
OKLaboklab(79% -0.0423 0.1439)
OKLCHoklch(79% 0.15 106.4)
XYZxyz(43.1430, 50.1383, 11.2752)
Luminance0.5014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C039 #3940C7
analogous
#C77939 #C7C039 #87C739
triadic
#C7C039 #39C7C0 #C039C7
tetradic
#C7C039 #39C779 #3940C7 #C73987
square
#C7C039 #39C779 #3940C7 #C73987
split-complementary
#C7C039 #3987C7 #7939C7
monochromatic
#68641D #98922B #C7C039 #D4CF69 #E2DE98

Accessibility & contrast

On white

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

On black

11.03
#C7C039 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C039
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C039#FFFFFF#000000##000000
##C7C0391.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B921
Deuteranopia (green-blind)
#D3BE43
Tritanopia (blue-blind)
#D6B3A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c7c039;
/* rgb */ color: rgb(199, 192, 57);
/* oklch */ color: oklch(79.0% 0.150 106.4);
Tailwind
colors: {
  custom: {
    50: '#dcd278',
    500: '#c7c039',
    950: '#000000',
  },
}
SCSS
$custom: #c7c039;
$custom-light: #dcd278;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c039",
  "rgb": {
    "r": 199,
    "g": 192,
    "b": 57
  },
  "hsl": {
    "h": 57.042,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.78999,
    "c": 0.14997,
    "h": 106.4
  },
  "luminance": 0.50137
}

Semantic roles & 50–950 ramp

primary
#C7C039
secondary
#323572
accent
#50DF49
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7C039

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

Preview Lab → · Contrast checker → · Palette generator →

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