#7D931C#7D931C

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

Color values

HEX#7D931C
RGBrgb(125, 147, 28)
HSLhsl(71, 68%, 34%)
HSVhsv(71, 81%, 58%)
CMYKcmyk(15%, 0%, 81%, 42.4%)
CIE-LABlab(57.38, -23.41, 55.00)
CIE-LCHlch(57.38, 59.77, 113.06°)
OKLaboklab(62.46% -0.0698 0.1202)
OKLCHoklch(62.46% 0.139 120.2)
XYZxyz(19.1012, 25.3113, 4.9777)
Luminance0.2531 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D931C #321C93
analogous
#936E1C #7D931C #42931C
triadic
#7D931C #1C7D93 #931C7D
tetradic
#7D931C #1C936E #321C93 #931C42
square
#7D931C #1C936E #321C93 #931C42
split-complementary
#7D931C #1C4293 #6E1C93
monochromatic
#262C08 #516012 #7D931C #A9C626 #C2DD4C

Accessibility & contrast

On white

3.46
#7D931C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D931C#FFFFFF#000000##000000
##7D931C1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d931c;
/* rgb */ color: rgb(125, 147, 28);
/* oklch */ color: oklch(62.5% 0.139 120.2);
Tailwind
colors: {
  custom: {
    50: '#a6b264',
    500: '#7d931c',
    950: '#000000',
  },
}
SCSS
$custom: #7d931c;
$custom-light: #a6b264;
$custom-dark: #000000;
JSON
{
  "hex": "#7d931c",
  "rgb": {
    "r": 125,
    "g": 147,
    "b": 28
  },
  "hsl": {
    "h": 71.092,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.62459,
    "c": 0.13897,
    "h": 120.2
  },
  "luminance": 0.25311
}

Semantic roles & 50–950 ramp

primary
#7D931C
secondary
#614CBF
accent
#3DEB5D
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D931C

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

Preview Lab → · Contrast checker → · Palette generator →

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