#70942D#70942D

#70942D is a mid, vivid yellow-green. Relative luminance 0.248; OKLCH L 61.9% C 0.136 H 126.7°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#70942D
RGBrgb(112, 148, 45)
HSLhsl(81, 53%, 38%)
HSVhsv(81, 70%, 58%)
CMYKcmyk(24.3%, 0%, 69.6%, 42%)
CIE-LABlab(56.89, -28.42, 48.17)
CIE-LCHlch(56.89, 55.93, 120.54°)
OKLaboklab(61.87% -0.0814 0.109)
OKLCHoklch(61.87% 0.136 126.7)
XYZxyz(17.7457, 24.8137, 6.3367)
Luminance0.2481 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70942D #512D94
analogous
#94842D #70942D #3C942D
triadic
#70942D #2D7094 #942D70
tetradic
#70942D #2D9484 #512D94 #942D3C
square
#70942D #2D9484 #512D94 #942D3C
split-complementary
#70942D #2D3C94 #842D94
monochromatic
#293610 #4C651F #70942D #94C33B #ADD26A

Accessibility & contrast

On white

3.52
#70942D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#70942D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #70942D
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70942D#FFFFFF#000000##000000
##70942D1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A1E
Deuteranopia (green-blind)
#978835
Tritanopia (blue-blind)
#748D7F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #70942d;
/* rgb */ color: rgb(112, 148, 45);
/* oklch */ color: oklch(61.9% 0.136 126.7);
Tailwind
colors: {
  custom: {
    50: '#9cb36c',
    500: '#70942d',
    950: '#000000',
  },
}
SCSS
$custom: #70942d;
$custom-light: #9cb36c;
$custom-dark: #000000;
JSON
{
  "hex": "#70942d",
  "rgb": {
    "r": 112,
    "g": 148,
    "b": 45
  },
  "hsl": {
    "h": 80.971,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61872,
    "c": 0.13601,
    "h": 126.7
  },
  "luminance": 0.24814
}

Semantic roles & 50–950 ramp

primary
#70942D
secondary
#8264B8
accent
#4BDD7E
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0F1107
muted
#7E807A

Preview Lab

Preview with #70942D

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

Preview Lab → · Contrast checker → · Palette generator →

#70942D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva