#7D7F2E#7D7F2E

#7D7F2E is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.8% C 0.103 H 110.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7D7F2E
RGBrgb(125, 127, 46)
HSLhsl(61, 47%, 34%)
HSVhsv(61, 64%, 50%)
CMYKcmyk(1.6%, 0%, 63.8%, 50.2%)
CIE-LABlab(51.54, -11.96, 42.41)
CIE-LCHlch(51.54, 44.07, 105.75°)
OKLaboklab(57.81% -0.0363 0.0967)
OKLCHoklch(57.81% 0.103 110.6)
XYZxyz(16.5404, 19.7364, 5.5224)
Luminance0.1974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7F2E #302E7F
analogous
#7F592E #7D7F2E #557F2E
triadic
#7D7F2E #2E7D7F #7F2E7D
tetradic
#7D7F2E #2E7F59 #302E7F #7F2E55
square
#7D7F2E #2E7F59 #302E7F #7F2E55
split-complementary
#7D7F2E #2E557F #592E7F
monochromatic
#25250D #51521E #7D7F2E #A9AC3E #C3C661

Accessibility & contrast

On white

4.24
#7D7F2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#7D7F2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7F2E
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7F2E#FFFFFF#000000##000000
##7D7F2E1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A24
Deuteranopia (green-blind)
#897C33
Tritanopia (blue-blind)
#85776E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7d7f2e;
/* rgb */ color: rgb(125, 127, 46);
/* oklch */ color: oklch(57.8% 0.103 110.6);
Tailwind
colors: {
  custom: {
    50: '#a5a36b',
    500: '#7d7f2e',
    950: '#000000',
  },
}
SCSS
$custom: #7d7f2e;
$custom-light: #a5a36b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7f2e",
  "rgb": {
    "r": 125,
    "g": 127,
    "b": 46
  },
  "hsl": {
    "h": 61.481,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5781,
    "c": 0.10328,
    "h": 110.6
  },
  "luminance": 0.19736
}

Semantic roles & 50–950 ramp

primary
#7D7F2E
secondary
#5E5CAD
accent
#51D655
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #7D7F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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