#7D7E1D#7D7E1D

#7D7E1D is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.4% C 0.114 H 110.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7D7E1D
RGBrgb(125, 126, 29)
HSLhsl(61, 63%, 30%)
HSVhsv(61, 77%, 49%)
CMYKcmyk(0.8%, 0%, 77%, 50.6%)
CIE-LABlab(51.12, -12.42, 48.95)
CIE-LCHlch(51.12, 50.51, 104.23°)
OKLaboklab(57.44% -0.0394 0.1075)
OKLCHoklch(57.44% 0.114 110.1)
XYZxyz(16.1407, 19.3709, 4.0509)
Luminance0.1937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7E1D #1E1D7E
analogous
#7E4F1D #7D7E1D #4C7E1D
triadic
#7D7E1D #1D7D7E #7E1D7D
tetradic
#7D7E1D #1D7E4F #1E1D7E #7E1D4C
square
#7D7E1D #1D7E4F #1E1D7E #7E1D4C
split-complementary
#7D7E1D #1D4C7E #4F1D7E
monochromatic
#1A1B06 #4C4C12 #7D7E1D #AEB028 #D2D342

Accessibility & contrast

On white

4.31
#7D7E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#7D7E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7E1D
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7E1D#FFFFFF#000000##000000
##7D7E1D1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897807
Deuteranopia (green-blind)
#897B25
Tritanopia (blue-blind)
#86766C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d7e1d;
/* rgb */ color: rgb(125, 126, 29);
/* oklch */ color: oklch(57.4% 0.114 110.1);
Tailwind
colors: {
  custom: {
    50: '#a6a361',
    500: '#7d7e1d',
    950: '#000000',
  },
}
SCSS
$custom: #7d7e1d;
$custom-light: #a6a361;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7e1d",
  "rgb": {
    "r": 125,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 60.619,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.57435,
    "c": 0.11449,
    "h": 110.1
  },
  "luminance": 0.1937
}

Semantic roles & 50–950 ramp

primary
#7D7E1D
secondary
#4645B1
accent
#42E644
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7D7E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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