#7D7A2E#7D7A2E

#7D7A2E is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.6% C 0.098 H 107.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7D7A2E
RGBrgb(125, 122, 46)
HSLhsl(58, 46%, 34%)
HSVhsv(58, 63%, 49%)
CMYKcmyk(0%, 2.4%, 63.2%, 51%)
CIE-LABlab(50.07, -9.22, 40.83)
CIE-LCHlch(50.07, 41.86, 102.72°)
OKLaboklab(56.64% -0.0285 0.0933)
OKLCHoklch(56.64% 0.098 107)
XYZxyz(15.9106, 18.4768, 5.3125)
Luminance0.1848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7A2E #2E317D
analogous
#7D522E #7D7A2E #587D2E
triadic
#7D7A2E #2E7D7A #7A2E7D
tetradic
#7D7A2E #2E7D52 #2E317D #7D2E58
square
#7D7A2E #2E7D52 #2E317D #7D2E58
split-complementary
#7D7A2E #2E587D #522E7D
monochromatic
#24230D #504E1E #7D7A2E #AAA63E #C5C161

Accessibility & contrast

On white

4.47
#7D7A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#7D7A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7A2E
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7A2E#FFFFFF#000000##000000
##7D7A2E1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#847525
Deuteranopia (green-blind)
#867932
Tritanopia (blue-blind)
#86726A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d7a2e;
/* rgb */ color: rgb(125, 122, 46);
/* oklch */ color: oklch(56.6% 0.098 107.0);
Tailwind
colors: {
  custom: {
    50: '#a5a06a',
    500: '#7d7a2e',
    950: '#000000',
  },
}
SCSS
$custom: #7d7a2e;
$custom-light: #a5a06a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7a2e",
  "rgb": {
    "r": 125,
    "g": 122,
    "b": 46
  },
  "hsl": {
    "h": 57.722,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56638,
    "c": 0.09761,
    "h": 107
  },
  "luminance": 0.18476
}

Semantic roles & 50–950 ramp

primary
#7D7A2E
secondary
#5B5EAB
accent
#57D652
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #7D7A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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