#45702A#45702A

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

Color values

HEX#45702A
RGBrgb(69, 112, 42)
HSLhsl(97, 45%, 30%)
HSVhsv(97, 63%, 44%)
CMYKcmyk(38.4%, 0%, 62.5%, 56.1%)
CIE-LABlab(42.79, -28.38, 33.54)
CIE-LCHlch(42.79, 43.94, 130.23°)
OKLaboklab(49.72% -0.0787 0.0783)
OKLCHoklch(49.72% 0.111 135.1)
XYZxyz(8.6661, 13.0203, 4.2466)
Luminance0.1302 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45702A #552A70
analogous
#68702A #45702A #2A7032
triadic
#45702A #2A4570 #702A45
tetradic
#45702A #2A6870 #552A70 #70322A
square
#45702A #2A6870 #552A70 #70322A
split-complementary
#45702A #322A70 #702A68
monochromatic
#0E1709 #2A4319 #45702A #609D3B #7EBF55

Accessibility & contrast

On white

5.83
#45702A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#45702A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #45702A
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45702A#FFFFFF#000000##FFFFFF
##45702A1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #45702a;
/* rgb */ color: rgb(69, 112, 42);
/* oklch */ color: oklch(49.7% 0.111 135.1);
Tailwind
colors: {
  custom: {
    50: '#7c9966',
    500: '#45702a',
    950: '#000000',
  },
}
SCSS
$custom: #45702a;
$custom-light: #7c9966;
$custom-dark: #000000;
JSON
{
  "hex": "#45702a",
  "rgb": {
    "r": 69,
    "g": 112,
    "b": 42
  },
  "hsl": {
    "h": 96.857,
    "s": 45.455,
    "l": 30.196
  },
  "oklch": {
    "l": 0.49721,
    "c": 0.11106,
    "h": 135.1
  },
  "luminance": 0.13021
}

Semantic roles & 50–950 ramp

primary
#45702A
secondary
#8454A2
accent
#53D5A3
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #45702A

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

Preview Lab → · Contrast checker → · Palette generator →

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