#7D7C2D#7D7C2D

#7D7C2D is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.1% C 0.101 H 108.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7D7C2D
RGBrgb(125, 124, 45)
HSLhsl(59, 47%, 33%)
HSVhsv(59, 64%, 49%)
CMYKcmyk(0%, 0.8%, 64%, 51%)
CIE-LABlab(50.65, -10.39, 41.92)
CIE-LCHlch(50.65, 43.19, 103.93°)
OKLaboklab(57.1% -0.032 0.0955)
OKLCHoklch(57.1% 0.101 108.5)
XYZxyz(16.1393, 18.9652, 5.2926)
Luminance0.1897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7C2D #2D2E7D
analogous
#7D542D #7D7C2D #567D2D
triadic
#7D7C2D #2D7D7C #7C2D7D
tetradic
#7D7C2D #2D7D54 #2D2E7D #7D2D56
square
#7D7C2D #2D7D54 #2D2E7D #7D2D56
split-complementary
#7D7C2D #2D567D #542D7D
monochromatic
#23230D #504F1D #7D7C2D #AAA93D #C5C45F

Accessibility & contrast

On white

4.38
#7D7C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#7D7C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7C2D
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7C2D#FFFFFF#000000##000000
##7D7C2D1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#867723
Deuteranopia (green-blind)
#877A32
Tritanopia (blue-blind)
#86746B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d7c2d;
/* rgb */ color: rgb(125, 124, 45);
/* oklch */ color: oklch(57.1% 0.101 108.5);
Tailwind
colors: {
  custom: {
    50: '#a5a16a',
    500: '#7d7c2d',
    950: '#000000',
  },
}
SCSS
$custom: #7d7c2d;
$custom-light: #a5a16a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7c2d",
  "rgb": {
    "r": 125,
    "g": 124,
    "b": 45
  },
  "hsl": {
    "h": 59.25,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57095,
    "c": 0.1007,
    "h": 108.5
  },
  "luminance": 0.18965
}

Semantic roles & 50–950 ramp

primary
#7D7C2D
secondary
#5A5BAC
accent
#53D751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F07
muted
#7F7E7A

Preview Lab

Preview with #7D7C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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