#7D8A32#7D8A32

#7D8A32 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.5% C 0.113 H 117.0°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7D8A32
RGBrgb(125, 138, 50)
HSLhsl(69, 47%, 37%)
HSVhsv(69, 64%, 54%)
CMYKcmyk(9.4%, 0%, 63.8%, 45.9%)
CIE-LABlab(54.83, -17.53, 44.13)
CIE-LCHlch(54.83, 47.49, 111.67°)
OKLaboklab(60.46% -0.0515 0.1009)
OKLCHoklch(60.46% 0.113 117)
XYZxyz(18.1220, 22.7674, 6.4569)
Luminance0.2277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8A32 #3F328A
analogous
#8A6B32 #7D8A32 #518A32
triadic
#7D8A32 #327D8A #8A327D
tetradic
#7D8A32 #328A6B #3F328A #8A3251
square
#7D8A32 #328A6B #3F328A #8A3251
split-complementary
#7D8A32 #32518A #6B328A
monochromatic
#2C3011 #545D22 #7D8A32 #A6B742 #BCCA6C

Accessibility & contrast

On white

3.78
#7D8A32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#7D8A32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8A32
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8A32#FFFFFF#000000##000000
##7D8A321.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938327
Deuteranopia (green-blind)
#928438
Tritanopia (blue-blind)
#848378
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7d8a32;
/* rgb */ color: rgb(125, 138, 50);
/* oklch */ color: oklch(60.5% 0.113 117.0);
Tailwind
colors: {
  custom: {
    50: '#a5ac6e',
    500: '#7d8a32',
    950: '#000000',
  },
}
SCSS
$custom: #7d8a32;
$custom-light: #a5ac6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8a32",
  "rgb": {
    "r": 125,
    "g": 138,
    "b": 50
  },
  "hsl": {
    "h": 68.864,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60458,
    "c": 0.1133,
    "h": 117
  },
  "luminance": 0.22767
}

Semantic roles & 50–950 ramp

primary
#7D8A32
secondary
#7166B2
accent
#51D665
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7D8A32

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

Preview Lab → · Contrast checker → · Palette generator →

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