#7D7D2E#7D7D2E

#7D7D2E is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.3% C 0.101 H 109.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7D7D2E
RGBrgb(125, 125, 46)
HSLhsl(60, 46%, 34%)
HSVhsv(60, 63%, 49%)
CMYKcmyk(0%, 0%, 63.2%, 51%)
CIE-LABlab(50.95, -10.87, 41.78)
CIE-LCHlch(50.95, 43.17, 104.58°)
OKLaboklab(57.34% -0.0332 0.0954)
OKLCHoklch(57.34% 0.101 109.2)
XYZxyz(16.2847, 19.2249, 5.4372)
Luminance0.1922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7D2E #2E2E7D
analogous
#7D552E #7D7D2E #557D2E
triadic
#7D7D2E #2E7D7D #7D2E7D
tetradic
#7D7D2E #2E7D55 #2E2E7D #7D2E55
square
#7D7D2E #2E7D55 #2E2E7D #7D2E55
split-complementary
#7D7D2E #2E557D #552E7D
monochromatic
#24240D #50501E #7D7D2E #AAAA3E #C5C561

Accessibility & contrast

On white

4.33
#7D7D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#7D7D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7D2E
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7D2E#FFFFFF#000000##000000
##7D7D2E1.004.334.844.84
#FFFFFF4.331.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#877825
Deuteranopia (green-blind)
#887B33
Tritanopia (blue-blind)
#86756C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d7d2e;
/* rgb */ color: rgb(125, 125, 46);
/* oklch */ color: oklch(57.3% 0.101 109.2);
Tailwind
colors: {
  custom: {
    50: '#a5a26b',
    500: '#7d7d2e',
    950: '#000000',
  },
}
SCSS
$custom: #7d7d2e;
$custom-light: #a5a26b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7d2e",
  "rgb": {
    "r": 125,
    "g": 125,
    "b": 46
  },
  "hsl": {
    "h": 60,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5734,
    "c": 0.10098,
    "h": 109.2
  },
  "luminance": 0.19224
}

Semantic roles & 50–950 ramp

primary
#7D7D2E
secondary
#5B5BAB
accent
#52D652
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F07
muted
#7F7E7A

Preview Lab

Preview with #7D7D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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