#7D8129#7D8129

#7D8129 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.2% C 0.110 H 111.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7D8129
RGBrgb(125, 129, 41)
HSLhsl(63, 52%, 33%)
HSVhsv(63, 68%, 51%)
CMYKcmyk(3.1%, 0%, 68.2%, 49.4%)
CIE-LABlab(52.09, -13.38, 45.20)
CIE-LCHlch(52.09, 47.14, 106.49°)
OKLaboklab(58.23% -0.0408 0.1018)
OKLCHoklch(58.23% 0.11 111.9)
XYZxyz(16.7084, 20.2210, 5.1203)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8129 #2D2981
analogous
#815929 #7D8129 #518129
triadic
#7D8129 #297D81 #81297D
tetradic
#7D8129 #298159 #2D2981 #812951
square
#7D8129 #298159 #2D2981 #812951
split-complementary
#7D8129 #295181 #592981
monochromatic
#23240B #50531A #7D8129 #AAAF38 #C5CB5A

Accessibility & contrast

On white

4.16
#7D8129 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#7D8129 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8129
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8129#FFFFFF#000000##000000
##7D81291.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1D
Deuteranopia (green-blind)
#8B7D2F
Tritanopia (blue-blind)
#86796F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7d8129;
/* rgb */ color: rgb(125, 129, 41);
/* oklch */ color: oklch(58.2% 0.110 111.9);
Tailwind
colors: {
  custom: {
    50: '#a5a568',
    500: '#7d8129',
    950: '#000000',
  },
}
SCSS
$custom: #7d8129;
$custom-light: #a5a568;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8129",
  "rgb": {
    "r": 125,
    "g": 129,
    "b": 41
  },
  "hsl": {
    "h": 62.727,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58234,
    "c": 0.10966,
    "h": 111.9
  },
  "luminance": 0.20221
}

Semantic roles & 50–950 ramp

primary
#7D8129
secondary
#5A56B0
accent
#4DDB53
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7D8129

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

Preview Lab → · Contrast checker → · Palette generator →

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