#45901F#45901F

#45901F is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.3% C 0.162 H 137.5°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#45901F
RGBrgb(69, 144, 31)
HSLhsl(100, 65%, 34%)
HSVhsv(100, 78%, 56%)
CMYKcmyk(52.1%, 0%, 78.5%, 43.5%)
CIE-LABlab(53.29, -43.20, 49.10)
CIE-LCHlch(53.29, 65.40, 131.35°)
OKLaboklab(58.3% -0.1197 0.1096)
OKLCHoklch(58.3% 0.162 137.5)
XYZxyz(12.6744, 21.3097, 4.7414)
Luminance0.2131 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45901F #6A1F90
analogous
#7E901F #45901F #1F9032
triadic
#45901F #1F4590 #901F45
tetradic
#45901F #1F7E90 #6A1F90 #90321F
square
#45901F #1F7E90 #6A1F90 #90321F
split-complementary
#45901F #321F90 #901F7E
monochromatic
#152B09 #2D5E14 #45901F #5DC22A #7ED950

Accessibility & contrast

On white

3.99
#45901F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#45901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #45901F
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45901F#FFFFFF#000000##000000
##45901F1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958303
Deuteranopia (green-blind)
#8B7D2B
Tritanopia (blue-blind)
#408B7B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #45901f;
/* rgb */ color: rgb(69, 144, 31);
/* oklch */ color: oklch(58.3% 0.162 137.5);
Tailwind
colors: {
  custom: {
    50: '#81b164',
    500: '#45901f',
    950: '#000000',
  },
}
SCSS
$custom: #45901f;
$custom-light: #81b164;
$custom-dark: #000000;
JSON
{
  "hex": "#45901f",
  "rgb": {
    "r": 69,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 99.823,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58296,
    "c": 0.16229,
    "h": 137.5
  },
  "luminance": 0.21311
}

Semantic roles & 50–950 ramp

primary
#45901F
secondary
#974EBC
accent
#40E8AF
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #45901F

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

Preview Lab → · Contrast checker → · Palette generator →

#45901F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva