#7D8925#7D8925

#7D8925 is a mid, vivid yellow. Relative luminance 0.224; OKLCH L 60.1% C 0.122 H 116.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7D8925
RGBrgb(125, 137, 37)
HSLhsl(67, 57%, 34%)
HSVhsv(67, 73%, 54%)
CMYKcmyk(8.8%, 0%, 73%, 46.3%)
CIE-LABlab(54.43, -17.86, 49.17)
CIE-LCHlch(54.43, 52.32, 109.96°)
OKLaboklab(60.11% -0.0538 0.1094)
OKLCHoklch(60.11% 0.122 116.2)
XYZxyz(17.7375, 22.3851, 5.1363)
Luminance0.2238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8925 #312589
analogous
#896325 #7D8925 #4B8925
triadic
#7D8925 #257D89 #89257D
tetradic
#7D8925 #258963 #312589 #89254B
square
#7D8925 #258963 #312589 #89254B
split-complementary
#7D8925 #254B89 #632589
monochromatic
#25290B #515918 #7D8925 #A9B932 #C3D257

Accessibility & contrast

On white

3.83
#7D8925 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#7D8925 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8925
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8925#FFFFFF#000000##000000
##7D89251.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938213
Deuteranopia (green-blind)
#92832D
Tritanopia (blue-blind)
#858176
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7d8925;
/* rgb */ color: rgb(125, 137, 37);
/* oklch */ color: oklch(60.1% 0.122 116.2);
Tailwind
colors: {
  custom: {
    50: '#a6ab67',
    500: '#7d8925',
    950: '#000000',
  },
}
SCSS
$custom: #7d8925;
$custom-light: #a6ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8925",
  "rgb": {
    "r": 125,
    "g": 137,
    "b": 37
  },
  "hsl": {
    "h": 67.2,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.60106,
    "c": 0.12194,
    "h": 116.2
  },
  "luminance": 0.22385
}

Semantic roles & 50–950 ramp

primary
#7D8925
secondary
#6054B6
accent
#47E15A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D8925

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

Preview Lab → · Contrast checker → · Palette generator →

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