#7D7A1A#7D7A1A

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

Color values

HEX#7D7A1A
RGBrgb(125, 122, 26)
HSLhsl(58, 66%, 30%)
HSVhsv(58, 79%, 49%)
CMYKcmyk(0%, 2.4%, 79.2%, 51%)
CIE-LABlab(49.92, -10.37, 48.89)
CIE-LCHlch(49.92, 49.98, 101.97°)
OKLaboklab(56.47% -0.0339 0.1068)
OKLCHoklch(56.47% 0.112 107.6)
XYZxyz(15.6041, 18.3542, 3.6978)
Luminance0.1835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7A1A #1A1D7D
analogous
#7D491A #7D7A1A #4F7D1A
triadic
#7D7A1A #1A7D7A #7A1A7D
tetradic
#7D7A1A #1A7D49 #1A1D7D #7D1A4F
square
#7D7A1A #1A7D49 #1A1D7D #7D1A4F
split-complementary
#7D7A1A #1A4F7D #491A7D
monochromatic
#191905 #4A490F #7D7A1A #B0AB25 #D6D23B

Accessibility & contrast

On white

4.50
#7D7A1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D7A1A#FFFFFF#000000##000000
##7D7A1A1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#857502
Deuteranopia (green-blind)
#877822
Tritanopia (blue-blind)
#877168
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d7a1a;
/* rgb */ color: rgb(125, 122, 26);
/* oklch */ color: oklch(56.5% 0.112 107.6);
Tailwind
colors: {
  custom: {
    50: '#a6a060',
    500: '#7d7a1a',
    950: '#000000',
  },
}
SCSS
$custom: #7d7a1a;
$custom-light: #a6a060;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7a1a",
  "rgb": {
    "r": 125,
    "g": 122,
    "b": 26
  },
  "hsl": {
    "h": 58.182,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.56475,
    "c": 0.11204,
    "h": 107.6
  },
  "luminance": 0.18354
}

Semantic roles & 50–950 ramp

primary
#7D7A1A
secondary
#4245B1
accent
#44E93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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