#45701F#45701F

#45701F is a mid, vivid yellow-green. Relative luminance 0.130; OKLCH L 49.6% C 0.120 H 133.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#45701F
RGBrgb(69, 112, 31)
HSLhsl(92, 57%, 28%)
HSVhsv(92, 72%, 44%)
CMYKcmyk(38.4%, 0%, 72.3%, 56.1%)
CIE-LABlab(42.69, -29.42, 38.53)
CIE-LCHlch(42.69, 48.48, 127.36°)
OKLaboklab(49.6% -0.0825 0.0875)
OKLCHoklch(49.6% 0.12 133.3)
XYZxyz(8.4956, 12.9521, 3.3484)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45701F #4A1F70
analogous
#6D701F #45701F #1F7022
triadic
#45701F #1F4570 #701F45
tetradic
#45701F #1F6D70 #4A1F70 #70221F
square
#45701F #1F6D70 #4A1F70 #70221F
split-complementary
#45701F #221F70 #701F6D
monochromatic
#0F1807 #274012 #45701F #63A02C #80CA3F

Accessibility & contrast

On white

5.85
#45701F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#45701F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #45701F
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45701F#FFFFFF#000000##FFFFFF
##45701F1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756713
Deuteranopia (green-blind)
#6F6426
Tritanopia (blue-blind)
#456B60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #45701f;
/* rgb */ color: rgb(69, 112, 31);
/* oklch */ color: oklch(49.6% 0.120 133.3);
Tailwind
colors: {
  custom: {
    50: '#7c9960',
    500: '#45701f',
    950: '#000000',
  },
}
SCSS
$custom: #45701f;
$custom-light: #7c9960;
$custom-dark: #000000;
JSON
{
  "hex": "#45701f",
  "rgb": {
    "r": 69,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 91.852,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49604,
    "c": 0.12022,
    "h": 133.3
  },
  "luminance": 0.12952
}

Semantic roles & 50–950 ramp

primary
#45701F
secondary
#7847A4
accent
#48E099
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #45701F

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

Preview Lab → · Contrast checker → · Palette generator →

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