#45702F#45702F

#45702F is a mid, moderate yellow-green. Relative luminance 0.131; OKLCH L 49.8% C 0.106 H 136.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#45702F
RGBrgb(69, 112, 47)
HSLhsl(100, 41%, 31%)
HSVhsv(100, 58%, 44%)
CMYKcmyk(38.4%, 0%, 58%, 56.1%)
CIE-LABlab(42.85, -27.80, 31.07)
CIE-LCHlch(42.85, 41.70, 131.82°)
OKLaboklab(49.79% -0.0768 0.0735)
OKLCHoklch(49.79% 0.106 136.2)
XYZxyz(8.7613, 13.0584, 4.7477)
Luminance0.1306 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45702F #5A2F70
analogous
#65702F #45702F #2F7039
triadic
#45702F #2F4570 #702F45
tetradic
#45702F #2F6570 #5A2F70 #70392F
square
#45702F #2F6570 #5A2F70 #70392F
split-complementary
#45702F #392F70 #702F65
monochromatic
#101A0B #2A451D #45702F #609B41 #7EBB5E

Accessibility & contrast

On white

5.81
#45702F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #45702F
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45702F#FFFFFF#000000##FFFFFF
##45702F1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746829
Deuteranopia (green-blind)
#6E6434
Tritanopia (blue-blind)
#446C62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #45702f;
/* rgb */ color: rgb(69, 112, 47);
/* oklch */ color: oklch(49.8% 0.106 136.2);
Tailwind
colors: {
  custom: {
    50: '#7c996a',
    500: '#45702f',
    950: '#000000',
  },
}
SCSS
$custom: #45702f;
$custom-light: #7c996a;
$custom-dark: #000000;
JSON
{
  "hex": "#45702f",
  "rgb": {
    "r": 69,
    "g": 112,
    "b": 47
  },
  "hsl": {
    "h": 99.692,
    "s": 40.881,
    "l": 31.176
  },
  "oklch": {
    "l": 0.49786,
    "c": 0.10629,
    "h": 136.2
  },
  "luminance": 0.13059
}

Semantic roles & 50–950 ramp

primary
#45702F
secondary
#895AA1
accent
#57D1A8
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #45702F

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

Preview Lab → · Contrast checker → · Palette generator →

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