#45740F#45740F

#45740F is a mid, vivid yellow-green. Relative luminance 0.138; OKLCH L 50.6% C 0.135 H 132.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#45740F
RGBrgb(69, 116, 15)
HSLhsl(88, 77%, 26%)
HSVhsv(88, 87%, 45%)
CMYKcmyk(40.5%, 0%, 87.1%, 54.5%)
CIE-LABlab(43.93, -32.25, 45.36)
CIE-LCHlch(43.93, 55.66, 125.41°)
OKLaboklab(50.59% -0.0913 0.0992)
OKLCHoklch(50.59% 0.135 132.6)
XYZxyz(8.7857, 13.7901, 2.6507)
Luminance0.1379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45740F #3E0F74
analogous
#74700F #45740F #12740F
triadic
#45740F #0F4574 #740F45
tetradic
#45740F #0F7470 #3E0F74 #740F12
square
#45740F #0F7470 #3E0F74 #740F12
split-complementary
#45740F #0F1274 #700F74
monochromatic
#101B04 #253E08 #45740F #65AA16 #85E01D

Accessibility & contrast

On white

5.59
#45740F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#45740F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #45740F
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45740F#FFFFFF#000000##FFFFFF
##45740F1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#73671C
Tritanopia (blue-blind)
#466F62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #45740f;
/* rgb */ color: rgb(69, 116, 15);
/* oklch */ color: oklch(50.6% 0.135 132.6);
Tailwind
colors: {
  custom: {
    50: '#7e9c59',
    500: '#45740f',
    950: '#000000',
  },
}
SCSS
$custom: #45740f;
$custom-light: #7e9c59;
$custom-dark: #000000;
JSON
{
  "hex": "#45740f",
  "rgb": {
    "r": 69,
    "g": 116,
    "b": 15
  },
  "hsl": {
    "h": 87.921,
    "s": 77.099,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50587,
    "c": 0.13482,
    "h": 132.6
  },
  "luminance": 0.1379
}

Semantic roles & 50–950 ramp

primary
#45740F
secondary
#6B33AC
accent
#34F48D
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #45740F

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

Preview Lab → · Contrast checker → · Palette generator →

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