#45741B#45741B

#45741B is a mid, vivid yellow-green. Relative luminance 0.138; OKLCH L 50.7% C 0.128 H 133.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#45741B
RGBrgb(69, 116, 27)
HSLhsl(92, 62%, 28%)
HSVhsv(92, 77%, 45%)
CMYKcmyk(40.5%, 0%, 76.7%, 54.5%)
CIE-LABlab(43.99, -31.57, 41.47)
CIE-LCHlch(43.99, 52.12, 127.28°)
OKLaboklab(50.66% -0.0886 0.093)
OKLCHoklch(50.66% 0.128 133.6)
XYZxyz(8.8973, 13.8347, 3.2383)
Luminance0.1384 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45741B #4A1B74
analogous
#71741B #45741B #1B741D
triadic
#45741B #1B4574 #741B45
tetradic
#45741B #1B7174 #4A1B74 #741D1B
square
#45741B #1B7174 #4A1B74 #741D1B
split-complementary
#45741B #1D1B74 #741B71
monochromatic
#0F1906 #27420F #45741B #63A627 #80D139

Accessibility & contrast

On white

5.57
#45741B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#45741B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #45741B
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45741B#FFFFFF#000000##FFFFFF
##45741B1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A0A
Deuteranopia (green-blind)
#726724
Tritanopia (blue-blind)
#456F63
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #45741b;
/* rgb */ color: rgb(69, 116, 27);
/* oklch */ color: oklch(50.7% 0.128 133.6);
Tailwind
colors: {
  custom: {
    50: '#7d9c5e',
    500: '#45741b',
    950: '#000000',
  },
}
SCSS
$custom: #45741b;
$custom-light: #7d9c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#45741b",
  "rgb": {
    "r": 69,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 91.685,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50661,
    "c": 0.12848,
    "h": 133.6
  },
  "luminance": 0.13835
}

Semantic roles & 50–950 ramp

primary
#45741B
secondary
#7842A9
accent
#42E598
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #45741B

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

Preview Lab → · Contrast checker → · Palette generator →

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