#1B902F#1B902F

#1B902F is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.2% C 0.168 H 145.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#1B902F
RGBrgb(27, 144, 47)
HSLhsl(130, 68%, 34%)
HSVhsv(130, 81%, 56%)
CMYKcmyk(81.3%, 0%, 67.4%, 43.5%)
CIE-LABlab(52.27, -51.06, 41.40)
CIE-LCHlch(52.27, 65.73, 140.96°)
OKLaboklab(57.17% -0.1377 0.0959)
OKLCHoklch(57.17% 0.168 145.1)
XYZxyz(10.9376, 20.3834, 6.0467)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B902F #901B7C
analogous
#42901B #1B902F #1B9069
triadic
#1B902F #2F1B90 #902F1B
tetradic
#1B902F #1B4290 #901B7C #90691B
square
#1B902F #1B4290 #901B7C #90691B
split-complementary
#1B902F #691B90 #901B42
monochromatic
#08290D #115C1E #1B902F #25C440 #49DD62

Accessibility & contrast

On white

4.14
#1B902F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#1B902F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1B902F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B902F#FFFFFF#000000##000000
##1B902F1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928223
Deuteranopia (green-blind)
#867938
Tritanopia (blue-blind)
#008C7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1b902f;
/* rgb */ color: rgb(27, 144, 47);
/* oklch */ color: oklch(57.2% 0.168 145.1);
Tailwind
colors: {
  custom: {
    50: '#6eb26c',
    500: '#1b902f',
    950: '#000000',
  },
}
SCSS
$custom: #1b902f;
$custom-light: #6eb26c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b902f",
  "rgb": {
    "r": 27,
    "g": 144,
    "b": 47
  },
  "hsl": {
    "h": 130.256,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57169,
    "c": 0.16779,
    "h": 145.1
  },
  "luminance": 0.20385
}

Semantic roles & 50–950 ramp

primary
#1B902F
secondary
#BF48AA
accent
#3DCDEB
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081107
muted
#7B807A

Preview Lab

Preview with #1B902F

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

Preview Lab → · Contrast checker → · Palette generator →

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