#2A570E#2A570E

#2A570E is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 40.9% C 0.112 H 136.5°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#2A570E
RGBrgb(42, 87, 14)
HSLhsl(97, 72%, 20%)
HSVhsv(97, 84%, 34%)
CMYKcmyk(51.7%, 0%, 83.9%, 65.9%)
CIE-LABlab(32.57, -29.24, 34.77)
CIE-LCHlch(32.57, 45.43, 130.07°)
OKLaboklab(40.9% -0.0814 0.0774)
OKLCHoklch(40.9% 0.112 136.5)
XYZxyz(4.4422, 7.3400, 1.5981)
Luminance0.0734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A570E #3B0E57
analogous
#4F570E #2A570E #0E5716
triadic
#2A570E #0E2A57 #570E2A
tetradic
#2A570E #0E4F57 #3B0E57 #57160E
square
#2A570E #0E4F57 #3B0E57 #57160E
split-complementary
#2A570E #160E57 #570E4F
monochromatic
#0D1A04 #112206 #2A570E #438C16 #5DC01F

Accessibility & contrast

On white

8.51
#2A570E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2A570E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A570E
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A570E#FFFFFF#000000##FFFFFF
##2A570E1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F00
Deuteranopia (green-blind)
#544B16
Tritanopia (blue-blind)
#285349
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a570e;
/* rgb */ color: rgb(42, 87, 14);
/* oklch */ color: oklch(40.9% 0.112 136.5);
Tailwind
colors: {
  custom: {
    50: '#698753',
    500: '#2a570e',
    950: '#000000',
  },
}
SCSS
$custom: #2a570e;
$custom-light: #698753;
$custom-dark: #000000;
JSON
{
  "hex": "#2a570e",
  "rgb": {
    "r": 42,
    "g": 87,
    "b": 14
  },
  "hsl": {
    "h": 96.986,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40897,
    "c": 0.11229,
    "h": 136.5
  },
  "luminance": 0.0734
}

Semantic roles & 50–950 ramp

primary
#2A570E
secondary
#6C3091
accent
#39EFA9
background
#F6F8F4
surface
#EBEFE8
border
#C6CAC4
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2A570E

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

Preview Lab → · Contrast checker → · Palette generator →

#2A570E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva