#45771C#45771C

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

Color values

HEX#45771C
RGBrgb(69, 119, 28)
HSLhsl(93, 62%, 29%)
HSVhsv(93, 76%, 47%)
CMYKcmyk(42%, 0%, 76.5%, 53.3%)
CIE-LABlab(45.00, -32.86, 42.09)
CIE-LCHlch(45.00, 53.39, 127.98°)
OKLaboklab(51.49% -0.0921 0.0944)
OKLCHoklch(51.49% 0.132 134.3)
XYZxyz(9.2605, 14.5422, 3.4174)
Luminance0.1454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45771C #4E1C77
analogous
#73771C #45771C #1C7721
triadic
#45771C #1C4577 #771C45
tetradic
#45771C #1C7377 #4E1C77 #77211C
square
#45771C #1C7377 #4E1C77 #77211C
split-complementary
#45771C #211C77 #771C73
monochromatic
#0E1906 #284510 #45771C #62A928 #7FD13C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##45771C#FFFFFF#000000##FFFFFF
##45771C1.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)
#7C6D0A
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#447265
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #45771c;
/* rgb */ color: rgb(69, 119, 28);
/* oklch */ color: oklch(51.5% 0.132 134.3);
Tailwind
colors: {
  custom: {
    50: '#7d9e5f',
    500: '#45771c',
    950: '#000000',
  },
}
SCSS
$custom: #45771c;
$custom-light: #7d9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#45771c",
  "rgb": {
    "r": 69,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 92.967,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51486,
    "c": 0.13188,
    "h": 134.3
  },
  "luminance": 0.14543
}

Semantic roles & 50–950 ramp

primary
#45771C
secondary
#7D44AB
accent
#43E59C
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #45771C

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

Preview Lab → · Contrast checker → · Palette generator →

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