#7C8E23#7C8E23

#7C8E23 is a mid, vivid yellow-green. Relative luminance 0.238; OKLCH L 61.2% C 0.130 H 118.9°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#7C8E23
RGBrgb(124, 142, 35)
HSLhsl(70, 60%, 35%)
HSVhsv(70, 75%, 56%)
CMYKcmyk(12.7%, 0%, 75.4%, 44.3%)
CIE-LABlab(55.84, -20.99, 51.25)
CIE-LCHlch(55.84, 55.38, 112.28°)
OKLaboklab(61.21% -0.0626 0.1135)
OKLCHoklch(61.21% 0.13 118.9)
XYZxyz(18.2889, 23.7526, 5.2110)
Luminance0.2375 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8E23 #35238E
analogous
#8E6A23 #7C8E23 #478E23
triadic
#7C8E23 #237C8E #8E237C
tetradic
#7C8E23 #238E6A #35238E #8E2347
square
#7C8E23 #238E6A #35238E #8E2347
split-complementary
#7C8E23 #23478E #6A238E
monochromatic
#262C0B #515D17 #7C8E23 #A7BF2F #C0D556

Accessibility & contrast

On white

3.65
#7C8E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#7C8E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8E23
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8E23#FFFFFF#000000##000000
##7C8E231.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c8e23;
/* rgb */ color: rgb(124, 142, 35);
/* oklch */ color: oklch(61.2% 0.130 118.9);
Tailwind
colors: {
  custom: {
    50: '#a5af66',
    500: '#7c8e23',
    950: '#000000',
  },
}
SCSS
$custom: #7c8e23;
$custom-light: #a5af66;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8e23",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 70.093,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.61213,
    "c": 0.12959,
    "h": 118.9
  },
  "luminance": 0.23752
}

Semantic roles & 50–950 ramp

primary
#7C8E23
secondary
#6553B9
accent
#44E45F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7C8E23

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

Preview Lab → · Contrast checker → · Palette generator →

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