#45771B#45771B

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

Color values

HEX#45771B
RGBrgb(69, 119, 27)
HSLhsl(93, 63%, 29%)
HSVhsv(93, 77%, 47%)
CMYKcmyk(42%, 0%, 77.3%, 53.3%)
CIE-LABlab(44.99, -32.93, 42.46)
CIE-LCHlch(44.99, 53.73, 127.80°)
OKLaboklab(51.48% -0.0923 0.0951)
OKLCHoklch(51.48% 0.133 134.2)
XYZxyz(9.2487, 14.5375, 3.3554)
Luminance0.1454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45771B #4D1B77
analogous
#73771B #45771B #1B771F
triadic
#45771B #1B4577 #771B45
tetradic
#45771B #1B7377 #4D1B77 #771F1B
square
#45771B #1B7377 #4D1B77 #771F1B
split-complementary
#45771B #1F1B77 #771B73
monochromatic
#0E1906 #284510 #45771B #62A926 #80D23A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##45771B#FFFFFF#000000##FFFFFF
##45771B1.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)
#7C6D08
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#447265
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #45771b;
/* rgb */ color: rgb(69, 119, 27);
/* oklch */ color: oklch(51.5% 0.133 134.2);
Tailwind
colors: {
  custom: {
    50: '#7d9e5f',
    500: '#45771b',
    950: '#000000',
  },
}
SCSS
$custom: #45771b;
$custom-light: #7d9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#45771b",
  "rgb": {
    "r": 69,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 92.609,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51478,
    "c": 0.1325,
    "h": 134.2
  },
  "luminance": 0.14538
}

Semantic roles & 50–950 ramp

primary
#45771B
secondary
#7B42AB
accent
#42E69B
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #45771B

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

Preview Lab → · Contrast checker → · Palette generator →

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