#7D8121#7D8121

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

Color values

HEX#7D8121
RGBrgb(125, 129, 33)
HSLhsl(63, 59%, 32%)
HSVhsv(63, 74%, 51%)
CMYKcmyk(3.1%, 0%, 74.4%, 49.4%)
CIE-LABlab(52.03, -13.84, 48.36)
CIE-LCHlch(52.03, 50.30, 105.97°)
OKLaboklab(58.17% -0.043 0.107)
OKLCHoklch(58.17% 0.115 111.9)
XYZxyz(16.5828, 20.1707, 4.4583)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8121 #252181
analogous
#815521 #7D8121 #4D8121
triadic
#7D8121 #217D81 #81217D
tetradic
#7D8121 #218155 #252181 #81214D
square
#7D8121 #218155 #252181 #81214D
split-complementary
#7D8121 #214D81 #552181
monochromatic
#1F2008 #4E5015 #7D8121 #ACB22D #CBD14B

Accessibility & contrast

On white

4.17
#7D8121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#7D8121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8121
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8121#FFFFFF#000000##000000
##7D81211.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B0F
Deuteranopia (green-blind)
#8C7D29
Tritanopia (blue-blind)
#86796E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7d8121;
/* rgb */ color: rgb(125, 129, 33);
/* oklch */ color: oklch(58.2% 0.115 111.9);
Tailwind
colors: {
  custom: {
    50: '#a6a564',
    500: '#7d8121',
    950: '#000000',
  },
}
SCSS
$custom: #7d8121;
$custom-light: #a6a564;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8121",
  "rgb": {
    "r": 125,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 62.5,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58171,
    "c": 0.11531,
    "h": 111.9
  },
  "luminance": 0.2017
}

Semantic roles & 50–950 ramp

primary
#7D8121
secondary
#4F4AB4
accent
#45E24C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7D8121

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

Preview Lab → · Contrast checker → · Palette generator →

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