#45811F#45811F

#45811F is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.2% C 0.143 H 136.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#45811F
RGBrgb(69, 129, 31)
HSLhsl(97, 61%, 31%)
HSVhsv(97, 76%, 51%)
CMYKcmyk(46.5%, 0%, 76%, 49.4%)
CIE-LABlab(48.34, -37.03, 44.26)
CIE-LCHlch(48.34, 57.70, 129.91°)
OKLaboklab(54.23% -0.1031 0.0995)
OKLCHoklch(54.23% 0.143 136)
XYZxyz(10.5515, 17.0640, 4.0337)
Luminance0.1706 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45811F #5B1F81
analogous
#76811F #45811F #1F812A
triadic
#45811F #1F4581 #811F45
tetradic
#45811F #1F7681 #5B1F81 #812A1F
square
#45811F #1F7681 #5B1F81 #812A1F
split-complementary
#45811F #2A1F81 #811F76
monochromatic
#101E07 #2B5013 #45811F #5FB22B #7ED347

Accessibility & contrast

On white

4.76
#45811F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#45811F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #45811F
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45811F#FFFFFF#000000##FFFFFF
##45811F1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86760C
Deuteranopia (green-blind)
#7E7129
Tritanopia (blue-blind)
#437C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #45811f;
/* rgb */ color: rgb(69, 129, 31);
/* oklch */ color: oklch(54.2% 0.143 136.0);
Tailwind
colors: {
  custom: {
    50: '#7fa662',
    500: '#45811f',
    950: '#000000',
  },
}
SCSS
$custom: #45811f;
$custom-light: #7fa662;
$custom-dark: #000000;
JSON
{
  "hex": "#45811f",
  "rgb": {
    "r": 69,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 96.735,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5423,
    "c": 0.14323,
    "h": 136
  },
  "luminance": 0.17065
}

Semantic roles & 50–950 ramp

primary
#45811F
secondary
#8A48B4
accent
#43E4A6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #45811F

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

Preview Lab → · Contrast checker → · Palette generator →

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