#45771F#45771F

#45771F is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.5% C 0.130 H 134.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#45771F
RGBrgb(69, 119, 31)
HSLhsl(94, 59%, 29%)
HSVhsv(94, 74%, 47%)
CMYKcmyk(42%, 0%, 73.9%, 53.3%)
CIE-LABlab(45.02, -32.64, 40.92)
CIE-LCHlch(45.02, 52.35, 128.57°)
OKLaboklab(51.51% -0.0912 0.0925)
OKLCHoklch(51.51% 0.13 134.6)
XYZxyz(9.2982, 14.5573, 3.6160)
Luminance0.1456 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45771F #511F77
analogous
#71771F #45771F #1F7725
triadic
#45771F #1F4577 #771F45
tetradic
#45771F #1F7177 #511F77 #77251F
square
#45771F #1F7177 #511F77 #77251F
split-complementary
#45771F #251F77 #771F71
monochromatic
#0E1806 #294612 #45771F #61A82C #7FCE43

Accessibility & contrast

On white

5.37
#45771F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#45771F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #45771F
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45771F#FFFFFF#000000##FFFFFF
##45771F1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D10
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#447266
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #45771f;
/* rgb */ color: rgb(69, 119, 31);
/* oklch */ color: oklch(51.5% 0.130 134.6);
Tailwind
colors: {
  custom: {
    50: '#7d9e61',
    500: '#45771f',
    950: '#000000',
  },
}
SCSS
$custom: #45771f;
$custom-light: #7d9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#45771f",
  "rgb": {
    "r": 69,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 94.091,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5151,
    "c": 0.12989,
    "h": 134.6
  },
  "luminance": 0.14558
}

Semantic roles & 50–950 ramp

primary
#45771F
secondary
#8047AB
accent
#46E29F
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #45771F

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

Preview Lab → · Contrast checker → · Palette generator →

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