#7FAF23#7FAF23

#7FAF23 is a light, vivid yellow-green. Relative luminance 0.353; OKLCH L 69.5% C 0.168 H 127.6°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#7FAF23
RGBrgb(127, 175, 35)
HSLhsl(81, 67%, 41%)
HSVhsv(81, 80%, 69%)
CMYKcmyk(27.4%, 0%, 80%, 31.4%)
CIE-LABlab(65.98, -35.63, 60.77)
CIE-LCHlch(65.98, 70.45, 120.38°)
OKLaboklab(69.47% -0.1027 0.1335)
OKLCHoklch(69.47% 0.168 127.6)
XYZxyz(24.3858, 35.2928, 7.1172)
Luminance0.3529 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAF23 #5323AF
analogous
#AF9923 #7FAF23 #39AF23
triadic
#7FAF23 #237FAF #AF237F
tetradic
#7FAF23 #23AF99 #5323AF #AF2339
square
#7FAF23 #23AF99 #5323AF #AF2339
split-complementary
#7FAF23 #2339AF #9923AF
monochromatic
#35490F #5A7C19 #7FAF23 #A1D738 #B9E16B

Accessibility & contrast

On white

2.61
#7FAF23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#7FAF23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAF23
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAF23#FFFFFF#000000##000000
##7FAF231.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B29F32
Tritanopia (blue-blind)
#84A795
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7faf23;
/* rgb */ color: rgb(127, 175, 35);
/* oklch */ color: oklch(69.5% 0.168 127.6);
Tailwind
colors: {
  custom: {
    50: '#a8c76b',
    500: '#7faf23',
    950: '#000000',
  },
}
SCSS
$custom: #7faf23;
$custom-light: #a8c76b;
$custom-dark: #000000;
JSON
{
  "hex": "#7faf23",
  "rgb": {
    "r": 127,
    "g": 175,
    "b": 35
  },
  "hsl": {
    "h": 80.571,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69466,
    "c": 0.16845,
    "h": 127.6
  },
  "luminance": 0.35293
}

Semantic roles & 50–950 ramp

primary
#7FAF23
secondary
#8866C7
accent
#3EEA79
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #7FAF23

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

Preview Lab → · Contrast checker → · Palette generator →

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