#7C9723#7C9723

#7C9723 is a light, vivid yellow-green. Relative luminance 0.265; OKLCH L 63.4% C 0.141 H 122.2°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#7C9723
RGBrgb(124, 151, 35)
HSLhsl(74, 62%, 36%)
HSVhsv(74, 77%, 59%)
CMYKcmyk(17.9%, 0%, 76.8%, 40.8%)
CIE-LABlab(58.55, -25.50, 53.82)
CIE-LCHlch(58.55, 59.55, 115.36°)
OKLaboklab(63.4% -0.075 0.1189)
OKLCHoklch(63.4% 0.141 122.2)
XYZxyz(19.6825, 26.5396, 5.6755)
Luminance0.2654 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9723 #3E2397
analogous
#977823 #7C9723 #429723
triadic
#7C9723 #237C97 #97237C
tetradic
#7C9723 #239778 #3E2397 #972342
square
#7C9723 #239778 #3E2397 #972342
split-complementary
#7C9723 #234297 #782397
monochromatic
#2A340C #536517 #7C9723 #A5C92F #BCD95B

Accessibility & contrast

On white

3.33
#7C9723 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#7C9723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9723
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9723#FFFFFF#000000##000000
##7C97231.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D07
Deuteranopia (green-blind)
#9D8D2E
Tritanopia (blue-blind)
#838F81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7c9723;
/* rgb */ color: rgb(124, 151, 35);
/* oklch */ color: oklch(63.4% 0.141 122.2);
Tailwind
colors: {
  custom: {
    50: '#a5b567',
    500: '#7c9723',
    950: '#000000',
  },
}
SCSS
$custom: #7c9723;
$custom-light: #a5b567;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9723",
  "rgb": {
    "r": 124,
    "g": 151,
    "b": 35
  },
  "hsl": {
    "h": 73.966,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.63395,
    "c": 0.14057,
    "h": 122.2
  },
  "luminance": 0.2654
}

Semantic roles & 50–950 ramp

primary
#7C9723
secondary
#7058BE
accent
#42E568
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7C9723

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

Preview Lab → · Contrast checker → · Palette generator →

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