#7D7E2E#7D7E2E

#7D7E2E is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.6% C 0.102 H 109.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7D7E2E
RGBrgb(125, 126, 46)
HSLhsl(61, 47%, 34%)
HSVhsv(61, 63%, 49%)
CMYKcmyk(0.8%, 0%, 63.5%, 50.6%)
CIE-LABlab(51.24, -11.42, 42.10)
CIE-LCHlch(51.24, 43.62, 105.17°)
OKLaboklab(57.57% -0.0348 0.096)
OKLCHoklch(57.57% 0.102 109.9)
XYZxyz(16.4119, 19.4794, 5.4796)
Luminance0.1948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7E2E #2F2E7E
analogous
#7E572E #7D7E2E #557E2E
triadic
#7D7E2E #2E7D7E #7E2E7D
tetradic
#7D7E2E #2E7E57 #2F2E7E #7E2E55
square
#7D7E2E #2E7E57 #2F2E7E #7E2E55
split-complementary
#7D7E2E #2E557E #572E7E
monochromatic
#24240D #51511E #7D7E2E #A9AB3E #C4C561

Accessibility & contrast

On white

4.29
#7D7E2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#7D7E2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7E2E
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7E2E#FFFFFF#000000##000000
##7D7E2E1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887924
Deuteranopia (green-blind)
#897B33
Tritanopia (blue-blind)
#86766D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d7e2e;
/* rgb */ color: rgb(125, 126, 46);
/* oklch */ color: oklch(57.6% 0.102 109.9);
Tailwind
colors: {
  custom: {
    50: '#a5a36b',
    500: '#7d7e2e',
    950: '#000000',
  },
}
SCSS
$custom: #7d7e2e;
$custom-light: #a5a36b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7e2e",
  "rgb": {
    "r": 125,
    "g": 126,
    "b": 46
  },
  "hsl": {
    "h": 60.75,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57574,
    "c": 0.10211,
    "h": 109.9
  },
  "luminance": 0.19479
}

Semantic roles & 50–950 ramp

primary
#7D7E2E
secondary
#5D5CAC
accent
#52D653
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #7D7E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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