#7D8E22#7D8E22

#7D8E22 is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.3% C 0.130 H 118.4°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7D8E22
RGBrgb(125, 142, 34)
HSLhsl(69, 61%, 35%)
HSVhsv(69, 76%, 56%)
CMYKcmyk(12%, 0%, 76.1%, 44.3%)
CIE-LABlab(55.91, -20.61, 51.70)
CIE-LCHlch(55.91, 55.65, 111.73°)
OKLaboklab(61.29% -0.0616 0.1142)
OKLCHoklch(61.29% 0.13 118.4)
XYZxyz(18.4196, 23.8216, 5.1407)
Luminance0.2382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8E22 #33228E
analogous
#8E6922 #7D8E22 #478E22
triadic
#7D8E22 #227D8E #8E227D
tetradic
#7D8E22 #228E69 #33228E #8E2247
square
#7D8E22 #228E69 #33228E #8E2247
split-complementary
#7D8E22 #22478E #69228E
monochromatic
#262B0A #525D16 #7D8E22 #A8BF2E #C2D654

Accessibility & contrast

On white

3.64
#7D8E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#7D8E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8E22
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8E22#FFFFFF#000000##000000
##7D8E221.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#98860A
Deuteranopia (green-blind)
#96862C
Tritanopia (blue-blind)
#858679
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7d8e22;
/* rgb */ color: rgb(125, 142, 34);
/* oklch */ color: oklch(61.3% 0.130 118.4);
Tailwind
colors: {
  custom: {
    50: '#a6af66',
    500: '#7d8e22',
    950: '#000000',
  },
}
SCSS
$custom: #7d8e22;
$custom-light: #a6af66;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8e22",
  "rgb": {
    "r": 125,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 69.444,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.61286,
    "c": 0.1298,
    "h": 118.4
  },
  "luminance": 0.23821
}

Semantic roles & 50–950 ramp

primary
#7D8E22
secondary
#6252BA
accent
#43E45D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D8E22

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

Preview Lab → · Contrast checker → · Palette generator →

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