#7F9923#7F9923

#7F9923 is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 64.1% C 0.142 H 121.7°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7F9923
RGBrgb(127, 153, 35)
HSLhsl(73, 63%, 37%)
HSVhsv(73, 77%, 60%)
CMYKcmyk(17%, 0%, 77.1%, 40%)
CIE-LABlab(59.36, -25.22, 54.66)
CIE-LCHlch(59.36, 60.19, 114.77°)
OKLaboklab(64.1% -0.0744 0.1206)
OKLCHoklch(64.1% 0.142 121.7)
XYZxyz(20.4473, 27.4158, 5.8044)
Luminance0.2742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9923 #3D2399
analogous
#997823 #7F9923 #449923
triadic
#7F9923 #237F99 #99237F
tetradic
#7F9923 #239978 #3D2399 #992344
square
#7F9923 #239978 #3D2399 #992344
split-complementary
#7F9923 #234499 #782399
monochromatic
#2C350C #566718 #7F9923 #A8CB2E #BEDA5D

Accessibility & contrast

On white

3.24
#7F9923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#7F9923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9923
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9923#FFFFFF#000000##000000
##7F99231.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F05
Deuteranopia (green-blind)
#9F8F2E
Tritanopia (blue-blind)
#869183
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7f9923;
/* rgb */ color: rgb(127, 153, 35);
/* oklch */ color: oklch(64.1% 0.142 121.7);
Tailwind
colors: {
  custom: {
    50: '#a7b768',
    500: '#7f9923',
    950: '#000000',
  },
}
SCSS
$custom: #7f9923;
$custom-light: #a7b768;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9923",
  "rgb": {
    "r": 127,
    "g": 153,
    "b": 35
  },
  "hsl": {
    "h": 73.22,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.64104,
    "c": 0.14166,
    "h": 121.7
  },
  "luminance": 0.27416
}

Semantic roles & 50–950 ramp

primary
#7F9923
secondary
#7059BE
accent
#42E666
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7F9923

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

Preview Lab → · Contrast checker → · Palette generator →

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