#7C8F23#7C8F23

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

Color values

HEX#7C8F23
RGBrgb(124, 143, 35)
HSLhsl(71, 61%, 35%)
HSVhsv(71, 76%, 56%)
CMYKcmyk(13.3%, 0%, 75.5%, 43.9%)
CIE-LABlab(56.14, -21.50, 51.53)
CIE-LCHlch(56.14, 55.84, 112.65°)
OKLaboklab(61.45% -0.064 0.1141)
OKLCHoklch(61.45% 0.131 119.3)
XYZxyz(18.4384, 24.0515, 5.2608)
Luminance0.2405 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8F23 #36238F
analogous
#8F6C23 #7C8F23 #468F23
triadic
#7C8F23 #237C8F #8F237C
tetradic
#7C8F23 #238F6C #36238F #8F2346
square
#7C8F23 #238F6C #36238F #8F2346
split-complementary
#7C8F23 #23468F #6C238F
monochromatic
#272D0B #515E17 #7C8F23 #A7C02F #BFD657

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8F23#FFFFFF#000000##000000
##7C8F231.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)
#99870C
Deuteranopia (green-blind)
#96872C
Tritanopia (blue-blind)
#84877A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7c8f23;
/* rgb */ color: rgb(124, 143, 35);
/* oklch */ color: oklch(61.5% 0.131 119.3);
Tailwind
colors: {
  custom: {
    50: '#a5af66',
    500: '#7c8f23',
    950: '#000000',
  },
}
SCSS
$custom: #7c8f23;
$custom-light: #a5af66;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8f23",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 70.556,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61454,
    "c": 0.1308,
    "h": 119.3
  },
  "luminance": 0.24051
}

Semantic roles & 50–950 ramp

primary
#7C8F23
secondary
#6654BA
accent
#44E460
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7C8F23

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

Preview Lab → · Contrast checker → · Palette generator →

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