#74B31B#74B31B

#74B31B is a light, vivid yellow-green. Relative luminance 0.360; OKLCH L 69.8% C 0.182 H 131.0°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#74B31B
RGBrgb(116, 179, 27)
HSLhsl(85, 74%, 40%)
HSVhsv(85, 85%, 70%)
CMYKcmyk(35.2%, 0%, 84.9%, 29.8%)
CIE-LABlab(66.54, -41.88, 63.15)
CIE-LCHlch(66.54, 75.78, 123.55°)
OKLaboklab(69.76% -0.1194 0.1376)
OKLCHoklch(69.76% 0.182 131)
XYZxyz(23.5202, 36.0314, 6.7522)
Luminance0.3603 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74B31B #5A1BB3
analogous
#B3A61B #74B31B #28B31B
triadic
#74B31B #1B74B3 #B31B74
tetradic
#74B31B #1BB3A6 #5A1BB3 #B31B28
square
#74B31B #1BB3A6 #5A1BB3 #B31B28
split-complementary
#74B31B #1B28B3 #A61BB3
monochromatic
#2F490B #527E13 #74B31B #95DF2C #B0E761

Accessibility & contrast

On white

2.56
#74B31B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#74B31B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #74B31B
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74B31B#FFFFFF#000000##000000
##74B31B1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#B3A02F
Tritanopia (blue-blind)
#76AB98
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #74b31b;
/* rgb */ color: rgb(116, 179, 27);
/* oklch */ color: oklch(69.8% 0.182 131.0);
Tailwind
colors: {
  custom: {
    50: '#a2ca68',
    500: '#74b31b',
    950: '#000000',
  },
}
SCSS
$custom: #74b31b;
$custom-light: #a2ca68;
$custom-dark: #000000;
JSON
{
  "hex": "#74b31b",
  "rgb": {
    "r": 116,
    "g": 179,
    "b": 27
  },
  "hsl": {
    "h": 84.868,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69756,
    "c": 0.18221,
    "h": 131
  },
  "luminance": 0.36032
}

Semantic roles & 50–950 ramp

primary
#74B31B
secondary
#8C5ECC
accent
#37F084
background
#FAFCF6
surface
#F4F8EB
border
#CED1C6
text
#101307
muted
#7F827A

Preview Lab

Preview with #74B31B

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

Preview Lab → · Contrast checker → · Palette generator →

#74B31B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva