#45741F#45741F

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

Color values

HEX#45741F
RGBrgb(69, 116, 31)
HSLhsl(93, 58%, 29%)
HSVhsv(93, 73%, 45%)
CMYKcmyk(40.5%, 0%, 73.3%, 54.5%)
CIE-LABlab(44.02, -31.28, 39.90)
CIE-LCHlch(44.02, 50.70, 128.09°)
OKLaboklab(50.69% -0.0875 0.0903)
OKLCHoklch(50.69% 0.126 134.1)
XYZxyz(8.9468, 13.8545, 3.4988)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45741F #4E1F74
analogous
#70741F #45741F #1F7423
triadic
#45741F #1F4574 #741F45
tetradic
#45741F #1F7074 #4E1F74 #74231F
square
#45741F #1F7074 #4E1F74 #74231F
split-complementary
#45741F #231F74 #741F70
monochromatic
#0E1806 #284412 #45741F #62A42C #7FCC41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##45741F#FFFFFF#000000##FFFFFF
##45741F1.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)
#796A11
Deuteranopia (green-blind)
#726727
Tritanopia (blue-blind)
#456F63
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #45741f;
/* rgb */ color: rgb(69, 116, 31);
/* oklch */ color: oklch(50.7% 0.126 134.1);
Tailwind
colors: {
  custom: {
    50: '#7d9c60',
    500: '#45741f',
    950: '#000000',
  },
}
SCSS
$custom: #45741f;
$custom-light: #7d9c60;
$custom-dark: #000000;
JSON
{
  "hex": "#45741f",
  "rgb": {
    "r": 69,
    "g": 116,
    "b": 31
  },
  "hsl": {
    "h": 93.176,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50693,
    "c": 0.12578,
    "h": 134.1
  },
  "luminance": 0.13855
}

Semantic roles & 50–950 ramp

primary
#45741F
secondary
#7D47A8
accent
#47E19C
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #45741F

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

Preview Lab → · Contrast checker → · Palette generator →

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