#1FA01B#1FA01B

#1FA01B is a mid, vivid green. Relative luminance 0.255; OKLCH L 61.6% C 0.196 H 142.5°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#1FA01B
RGBrgb(31, 160, 27)
HSLhsl(118, 71%, 37%)
HSVhsv(118, 83%, 63%)
CMYKcmyk(80.6%, 0%, 83.1%, 37.3%)
CIE-LABlab(57.57, -57.31, 54.01)
CIE-LCHlch(57.57, 78.75, 136.70°)
OKLaboklab(61.55% -0.1557 0.1196)
OKLCHoklch(61.55% 0.196 142.5)
XYZxyz(13.3329, 25.5104, 5.2580)
Luminance0.2551 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA01B #9C1BA0
analogous
#62A01B #1FA01B #1BA059
triadic
#1FA01B #1B1FA0 #A01B1F
tetradic
#1FA01B #1B62A0 #9C1BA0 #A0591B
square
#1FA01B #1B62A0 #9C1BA0 #A0591B
split-complementary
#1FA01B #591BA0 #A01B62
monochromatic
#0B3709 #156C12 #1FA01B #29D424 #58E253

Accessibility & contrast

On white

3.44
#1FA01B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#1FA01B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA01B
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA01B#FFFFFF#000000##000000
##1FA01B1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#96872C
Tritanopia (blue-blind)
#009B88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #1fa01b;
/* rgb */ color: rgb(31, 160, 27);
/* oklch */ color: oklch(61.6% 0.196 142.5);
Tailwind
colors: {
  custom: {
    50: '#74bd64',
    500: '#1fa01b',
    950: '#000000',
  },
}
SCSS
$custom: #1fa01b;
$custom-light: #74bd64;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa01b",
  "rgb": {
    "r": 31,
    "g": 160,
    "b": 27
  },
  "hsl": {
    "h": 118.195,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61554,
    "c": 0.19637,
    "h": 142.5
  },
  "luminance": 0.25512
}

Semantic roles & 50–950 ramp

primary
#1FA01B
secondary
#C152C5
accent
#3AEEE8
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #1FA01B

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

Preview Lab → · Contrast checker → · Palette generator →

#1FA01B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva