#7D7C15#7D7C15

#7D7C15 is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 56.9% C 0.117 H 109.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7D7C15
RGBrgb(125, 124, 21)
HSLhsl(59, 71%, 29%)
HSVhsv(59, 83%, 49%)
CMYKcmyk(0%, 0.8%, 83.2%, 51%)
CIE-LABlab(50.49, -11.66, 50.97)
CIE-LCHlch(50.49, 52.29, 102.88°)
OKLaboklab(56.92% -0.038 0.1102)
OKLCHoklch(56.92% 0.117 109)
XYZxyz(15.8011, 18.8299, 3.5115)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7C15 #15167D
analogous
#7D4815 #7D7C15 #4A7D15
triadic
#7D7C15 #157D7C #7C157D
tetradic
#7D7C15 #157D48 #15167D #7D154A
square
#7D7C15 #157D48 #15167D #7D154A
split-complementary
#7D7C15 #154A7D #48157D
monochromatic
#1A1A04 #49480C #7D7C15 #B1B01E #DCDB30

Accessibility & contrast

On white

4.41
#7D7C15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#7D7C15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7C15
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7C15#FFFFFF#000000##000000
##7D7C151.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#887A1F
Tritanopia (blue-blind)
#877369
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d7c15;
/* rgb */ color: rgb(125, 124, 21);
/* oklch */ color: oklch(56.9% 0.117 109.0);
Tailwind
colors: {
  custom: {
    50: '#a6a15e',
    500: '#7d7c15',
    950: '#000000',
  },
}
SCSS
$custom: #7d7c15;
$custom-light: #a6a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7c15",
  "rgb": {
    "r": 125,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 59.423,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.56918,
    "c": 0.11659,
    "h": 109
  },
  "luminance": 0.18829
}

Semantic roles & 50–950 ramp

primary
#7D7C15
secondary
#3C3DB2
accent
#3CEE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7C15

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

Preview Lab → · Contrast checker → · Palette generator →

#7D7C15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva