#45702B#45702B

#45702B is a mid, moderate yellow-green. Relative luminance 0.130; OKLCH L 49.7% C 0.110 H 135.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#45702B
RGBrgb(69, 112, 43)
HSLhsl(97, 45%, 30%)
HSVhsv(97, 62%, 44%)
CMYKcmyk(38.4%, 0%, 61.6%, 56.1%)
CIE-LABlab(42.80, -28.27, 33.06)
CIE-LCHlch(42.80, 43.50, 130.53°)
OKLaboklab(49.73% -0.0783 0.0774)
OKLCHoklch(49.73% 0.11 135.3)
XYZxyz(8.6843, 13.0276, 4.3420)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45702B #562B70
analogous
#67702B #45702B #2B7033
triadic
#45702B #2B4570 #702B45
tetradic
#45702B #2B6770 #562B70 #70332B
square
#45702B #2B6770 #562B70 #70332B
split-complementary
#45702B #332B70 #702B67
monochromatic
#0F1809 #2A441A #45702B #609C3C #7EBE57

Accessibility & contrast

On white

5.82
#45702B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#45702B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #45702B
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45702B#FFFFFF#000000##FFFFFF
##45702B1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746724
Deuteranopia (green-blind)
#6E6430
Tritanopia (blue-blind)
#446C61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #45702b;
/* rgb */ color: rgb(69, 112, 43);
/* oklch */ color: oklch(49.7% 0.110 135.3);
Tailwind
colors: {
  custom: {
    50: '#7c9967',
    500: '#45702b',
    950: '#000000',
  },
}
SCSS
$custom: #45702b;
$custom-light: #7c9967;
$custom-dark: #000000;
JSON
{
  "hex": "#45702b",
  "rgb": {
    "r": 69,
    "g": 112,
    "b": 43
  },
  "hsl": {
    "h": 97.391,
    "s": 44.516,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49734,
    "c": 0.11013,
    "h": 135.3
  },
  "luminance": 0.13028
}

Semantic roles & 50–950 ramp

primary
#45702B
secondary
#8555A2
accent
#54D4A4
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #45702B

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

Preview Lab → · Contrast checker → · Palette generator →

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