#7D7E2D#7D7E2D

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

Color values

HEX#7D7E2D
RGBrgb(125, 126, 45)
HSLhsl(61, 47%, 34%)
HSVhsv(61, 64%, 49%)
CMYKcmyk(0.8%, 0%, 64.3%, 50.6%)
CIE-LABlab(51.23, -11.49, 42.55)
CIE-LCHlch(51.23, 44.07, 105.11°)
OKLaboklab(57.56% -0.0351 0.0968)
OKLCHoklch(57.56% 0.103 109.9)
XYZxyz(16.3924, 19.4716, 5.3770)
Luminance0.1947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7E2D #2E2D7E
analogous
#7E562D #7D7E2D #547E2D
triadic
#7D7E2D #2D7D7E #7E2D7D
tetradic
#7D7E2D #2D7E56 #2E2D7E #7E2D54
square
#7D7E2D #2D7E56 #2E2D7E #7E2D54
split-complementary
#7D7E2D #2D547E #562D7E
monochromatic
#24240D #50511D #7D7E2D #AAAB3D #C5C65F

Accessibility & contrast

On white

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

On black

4.89
#7D7E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7E2D
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7E2D#FFFFFF#000000##000000
##7D7E2D1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d7e2d;
/* rgb */ color: rgb(125, 126, 45);
/* oklch */ color: oklch(57.6% 0.103 109.9);
Tailwind
colors: {
  custom: {
    50: '#a5a36a',
    500: '#7d7e2d',
    950: '#000000',
  },
}
SCSS
$custom: #7d7e2d;
$custom-light: #a5a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7e2d",
  "rgb": {
    "r": 125,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 60.741,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57564,
    "c": 0.10298,
    "h": 109.9
  },
  "luminance": 0.19471
}

Semantic roles & 50–950 ramp

primary
#7D7E2D
secondary
#5B5AAC
accent
#51D752
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #7D7E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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