#1F9023#1F9023

#1F9023 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.1% C 0.175 H 143.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#1F9023
RGBrgb(31, 144, 35)
HSLhsl(122, 65%, 34%)
HSVhsv(122, 78%, 56%)
CMYKcmyk(78.5%, 0%, 75.7%, 43.5%)
CIE-LABlab(52.24, -51.65, 46.28)
CIE-LCHlch(52.24, 69.36, 138.14°)
OKLaboklab(57.13% -0.14 0.1046)
OKLCHoklch(57.13% 0.175 143.2)
XYZxyz(10.8410, 20.3579, 4.9479)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9023 #901F8C
analogous
#54901F #1F9023 #1F905C
triadic
#1F9023 #231F90 #90231F
tetradic
#1F9023 #1F5490 #901F8C #905C1F
square
#1F9023 #1F5490 #901F8C #905C1F
split-complementary
#1F9023 #5C1F90 #901F54
monochromatic
#092B0B #145E17 #1F9023 #2AC22F #50D955

Accessibility & contrast

On white

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

On black

5.07
#1F9023 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9023
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9023#FFFFFF#000000##000000
##1F90231.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820E
Deuteranopia (green-blind)
#87792F
Tritanopia (blue-blind)
#008C7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1f9023;
/* rgb */ color: rgb(31, 144, 35);
/* oklch */ color: oklch(57.1% 0.175 143.2);
Tailwind
colors: {
  custom: {
    50: '#70b266',
    500: '#1f9023',
    950: '#000000',
  },
}
SCSS
$custom: #1f9023;
$custom-light: #70b266;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9023",
  "rgb": {
    "r": 31,
    "g": 144,
    "b": 35
  },
  "hsl": {
    "h": 122.124,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57134,
    "c": 0.17479,
    "h": 143.2
  },
  "luminance": 0.20359
}

Semantic roles & 50–950 ramp

primary
#1F9023
secondary
#BC4EB8
accent
#40E2E8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F9023

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

Preview Lab → · Contrast checker → · Palette generator →

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