#7C8F25#7C8F25

#7C8F25 is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 61.5% C 0.130 H 119.3°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#7C8F25
RGBrgb(124, 143, 37)
HSLhsl(71, 59%, 35%)
HSVhsv(71, 74%, 56%)
CMYKcmyk(13.3%, 0%, 74.1%, 43.9%)
CIE-LABlab(56.15, -21.39, 50.82)
CIE-LCHlch(56.15, 55.14, 112.83°)
OKLaboklab(61.47% -0.0635 0.1129)
OKLCHoklch(61.47% 0.13 119.3)
XYZxyz(18.4689, 24.0637, 5.4217)
Luminance0.2406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8F25 #38258F
analogous
#8F6D25 #7C8F25 #478F25
triadic
#7C8F25 #257C8F #8F257C
tetradic
#7C8F25 #258F6D #38258F #8F2547
square
#7C8F25 #258F6D #38258F #8F2547
split-complementary
#7C8F25 #25478F #6D258F
monochromatic
#282E0C #525E18 #7C8F25 #A6C032 #BED45A

Accessibility & contrast

On white

3.61
#7C8F25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#7C8F25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8F25
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8F25#FFFFFF#000000##000000
##7C8F251.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#988711
Deuteranopia (green-blind)
#96872E
Tritanopia (blue-blind)
#83877B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7c8f25;
/* rgb */ color: rgb(124, 143, 37);
/* oklch */ color: oklch(61.5% 0.130 119.3);
Tailwind
colors: {
  custom: {
    50: '#a5af67',
    500: '#7c8f25',
    950: '#000000',
  },
}
SCSS
$custom: #7c8f25;
$custom-light: #a5af67;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8f25",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 37
  },
  "hsl": {
    "h": 70.755,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61468,
    "c": 0.12956,
    "h": 119.3
  },
  "luminance": 0.24064
}

Semantic roles & 50–950 ramp

primary
#7C8F25
secondary
#6857B9
accent
#46E262
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7C8F25

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

Preview Lab → · Contrast checker → · Palette generator →

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