#7D7928#7D7928

#7D7928 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.3% C 0.102 H 106.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7D7928
RGBrgb(125, 121, 40)
HSLhsl(57, 52%, 32%)
HSVhsv(57, 68%, 49%)
CMYKcmyk(0%, 3.2%, 68%, 51%)
CIE-LABlab(49.72, -9.08, 43.20)
CIE-LCHlch(49.72, 44.14, 101.87°)
OKLaboklab(56.35% -0.0288 0.0974)
OKLCHoklch(56.35% 0.102 106.5)
XYZxyz(15.6784, 18.1884, 4.6919)
Luminance0.1819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7928 #282C7D
analogous
#7D4E28 #7D7928 #577D28
triadic
#7D7928 #287D79 #79287D
tetradic
#7D7928 #287D4E #282C7D #7D2857
square
#7D7928 #287D4E #282C7D #7D2857
split-complementary
#7D7928 #28577D #4E287D
monochromatic
#201F0A #4F4C19 #7D7928 #ABA637 #C9C456

Accessibility & contrast

On white

4.53
#7D7928 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7D7928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7928
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7928#FFFFFF#000000##000000
##7D79281.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#83741D
Deuteranopia (green-blind)
#85782D
Tritanopia (blue-blind)
#867168
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d7928;
/* rgb */ color: rgb(125, 121, 40);
/* oklch */ color: oklch(56.3% 0.102 106.5);
Tailwind
colors: {
  custom: {
    50: '#a59f67',
    500: '#7d7928',
    950: '#000000',
  },
}
SCSS
$custom: #7d7928;
$custom-light: #a59f67;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7928",
  "rgb": {
    "r": 125,
    "g": 121,
    "b": 40
  },
  "hsl": {
    "h": 57.176,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56346,
    "c": 0.10156,
    "h": 106.5
  },
  "luminance": 0.18188
}

Semantic roles & 50–950 ramp

primary
#7D7928
secondary
#5357AE
accent
#54DB4D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D7928

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

Preview Lab → · Contrast checker → · Palette generator →

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