#7D9316#7D9316

#7D9316 is a light, vivid yellow-green. Relative luminance 0.253; OKLCH L 62.4% C 0.142 H 120.0°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#7D9316
RGBrgb(125, 147, 22)
HSLhsl(71, 74%, 33%)
HSVhsv(71, 85%, 58%)
CMYKcmyk(15%, 0%, 85%, 42.4%)
CIE-LABlab(57.35, -23.63, 56.63)
CIE-LCHlch(57.35, 61.36, 112.65°)
OKLaboklab(62.43% -0.0709 0.1226)
OKLCHoklch(62.43% 0.142 120)
XYZxyz(19.0364, 25.2854, 4.6366)
Luminance0.2529 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9316 #2C1693
analogous
#936A16 #7D9316 #3E9316
triadic
#7D9316 #167D93 #93167D
tetradic
#7D9316 #16936A #2C1693 #93163E
square
#7D9316 #16936A #2C1693 #93163E
split-complementary
#7D9316 #163E93 #6A1693
monochromatic
#222906 #505E0E #7D9316 #AAC81E #C6E341

Accessibility & contrast

On white

3.47
#7D9316 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#7D9316 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9316
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9316#FFFFFF#000000##000000
##7D93161.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#9A8A24
Tritanopia (blue-blind)
#858B7D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7d9316;
/* rgb */ color: rgb(125, 147, 22);
/* oklch */ color: oklch(62.4% 0.142 120.0);
Tailwind
colors: {
  custom: {
    50: '#a6b262',
    500: '#7d9316',
    950: '#000000',
  },
}
SCSS
$custom: #7d9316;
$custom-light: #a6b262;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9316",
  "rgb": {
    "r": 125,
    "g": 147,
    "b": 22
  },
  "hsl": {
    "h": 70.56,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.62431,
    "c": 0.14161,
    "h": 120
  },
  "luminance": 0.25285
}

Semantic roles & 50–950 ramp

primary
#7D9316
secondary
#5942C3
accent
#37F158
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D9316

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

Preview Lab → · Contrast checker → · Palette generator →

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