#7D7925#7D7925

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

Color values

HEX#7D7925
RGBrgb(125, 121, 37)
HSLhsl(57, 54%, 32%)
HSVhsv(57, 70%, 49%)
CMYKcmyk(0%, 3.2%, 70.4%, 51%)
CIE-LABlab(49.70, -9.26, 44.47)
CIE-LCHlch(49.70, 45.42, 101.77°)
OKLaboklab(56.32% -0.0297 0.0995)
OKLCHoklch(56.32% 0.104 106.6)
XYZxyz(15.6293, 18.1688, 4.4336)
Luminance0.1817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7925 #25297D
analogous
#7D4D25 #7D7925 #557D25
triadic
#7D7925 #257D79 #79257D
tetradic
#7D7925 #257D4D #25297D #7D2555
square
#7D7925 #257D4D #25297D #7D2555
split-complementary
#7D7925 #25557D #4D257D
monochromatic
#1F1E09 #4E4B17 #7D7925 #ACA733 #CBC651

Accessibility & contrast

On white

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

On black

4.63
#7D7925 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7925
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7925#FFFFFF#000000##000000
##7D79251.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d7925;
/* rgb */ color: rgb(125, 121, 37);
/* oklch */ color: oklch(56.3% 0.104 106.6);
Tailwind
colors: {
  custom: {
    50: '#a59f65',
    500: '#7d7925',
    950: '#000000',
  },
}
SCSS
$custom: #7d7925;
$custom-light: #a59f65;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7925",
  "rgb": {
    "r": 125,
    "g": 121,
    "b": 37
  },
  "hsl": {
    "h": 57.273,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5632,
    "c": 0.10388,
    "h": 106.6
  },
  "luminance": 0.18168
}

Semantic roles & 50–950 ramp

primary
#7D7925
secondary
#4F53AF
accent
#51DE4A
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D7925

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

Preview Lab → · Contrast checker → · Palette generator →

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