#7D7E2F#7D7E2F

#7D7E2F is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.6% C 0.101 H 109.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7D7E2F
RGBrgb(125, 126, 47)
HSLhsl(61, 46%, 34%)
HSVhsv(61, 63%, 49%)
CMYKcmyk(0.8%, 0%, 62.7%, 50.6%)
CIE-LABlab(51.25, -11.34, 41.64)
CIE-LCHlch(51.25, 43.16, 105.24°)
OKLaboklab(57.58% -0.0344 0.0952)
OKLCHoklch(57.58% 0.101 109.9)
XYZxyz(16.4319, 19.4873, 5.5846)
Luminance0.1949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7E2F #302F7E
analogous
#7E582F #7D7E2F #567E2F
triadic
#7D7E2F #2F7D7E #7E2F7D
tetradic
#7D7E2F #2F7E58 #302F7E #7E2F56
square
#7D7E2F #2F7E58 #302F7E #7E2F56
split-complementary
#7D7E2F #2F567E #582F7E
monochromatic
#25250E #51511E #7D7E2F #A9AB40 #C3C563

Accessibility & contrast

On white

4.29
#7D7E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#7D7E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7E2F
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7E2F#FFFFFF#000000##000000
##7D7E2F1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887926
Deuteranopia (green-blind)
#897B34
Tritanopia (blue-blind)
#85766D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d7e2f;
/* rgb */ color: rgb(125, 126, 47);
/* oklch */ color: oklch(57.6% 0.101 109.9);
Tailwind
colors: {
  custom: {
    50: '#a5a36b',
    500: '#7d7e2f',
    950: '#000000',
  },
}
SCSS
$custom: #7d7e2f;
$custom-light: #a5a36b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7e2f",
  "rgb": {
    "r": 125,
    "g": 126,
    "b": 47
  },
  "hsl": {
    "h": 60.759,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57585,
    "c": 0.10124,
    "h": 109.9
  },
  "luminance": 0.19487
}

Semantic roles & 50–950 ramp

primary
#7D7E2F
secondary
#5E5DAC
accent
#52D554
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #7D7E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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