#7D7A1E#7D7A1E

#7D7A1E is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.5% C 0.110 H 107.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7D7A1E
RGBrgb(125, 122, 30)
HSLhsl(58, 61%, 30%)
HSVhsv(58, 76%, 49%)
CMYKcmyk(0%, 2.4%, 76%, 51%)
CIE-LABlab(49.95, -10.19, 47.49)
CIE-LCHlch(49.95, 48.57, 102.11°)
OKLaboklab(56.5% -0.0331 0.1046)
OKLCHoklch(56.5% 0.11 107.5)
XYZxyz(15.6519, 18.3733, 3.9500)
Luminance0.1837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7A1E #1E217D
analogous
#7D4A1E #7D7A1E #507D1E
triadic
#7D7A1E #1E7D7A #7A1E7D
tetradic
#7D7A1E #1E7D4A #1E217D #7D1E50
square
#7D7A1E #1E7D4A #1E217D #7D1E50
split-complementary
#7D7A1E #1E507D #4A1E7D
monochromatic
#1A1A06 #4C4A12 #7D7A1E #AEAA2A #D2CD43

Accessibility & contrast

On white

4.49
#7D7A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#7D7A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7A1E
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7A1E#FFFFFF#000000##000000
##7D7A1E1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#85750B
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#867268
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d7a1e;
/* rgb */ color: rgb(125, 122, 30);
/* oklch */ color: oklch(56.5% 0.110 107.5);
Tailwind
colors: {
  custom: {
    50: '#a6a061',
    500: '#7d7a1e',
    950: '#000000',
  },
}
SCSS
$custom: #7d7a1e;
$custom-light: #a6a061;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7a1e",
  "rgb": {
    "r": 125,
    "g": 122,
    "b": 30
  },
  "hsl": {
    "h": 58.105,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.565,
    "c": 0.10969,
    "h": 107.5
  },
  "luminance": 0.18373
}

Semantic roles & 50–950 ramp

primary
#7D7A1E
secondary
#464AB0
accent
#48E443
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7D7A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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