#2A530E#2A530E

#2A530E is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 39.7% C 0.107 H 135.8°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#2A530E
RGBrgb(42, 83, 14)
HSLhsl(96, 71%, 19%)
HSVhsv(96, 83%, 33%)
CMYKcmyk(49.4%, 0%, 83.1%, 67.5%)
CIE-LABlab(31.14, -27.44, 33.40)
CIE-LCHlch(31.14, 43.23, 129.40°)
OKLaboklab(39.72% -0.0765 0.0745)
OKLCHoklch(39.72% 0.107 135.8)
XYZxyz(4.1273, 6.7102, 1.4931)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A530E #370E53
analogous
#4D530E #2A530E #0E5315
triadic
#2A530E #0E2A53 #530E2A
tetradic
#2A530E #0E4D53 #370E53 #53150E
square
#2A530E #0E4D53 #370E53 #53150E
split-complementary
#2A530E #150E53 #530E4D
monochromatic
#0D1A04 #101F05 #2A530E #458717 #5FBC20

Accessibility & contrast

On white

8.97
#2A530E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2A530E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A530E
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A530E#FFFFFF#000000##FFFFFF
##2A530E1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B01
Deuteranopia (green-blind)
#514815
Tritanopia (blue-blind)
#285046
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a530e;
/* rgb */ color: rgb(42, 83, 14);
/* oklch */ color: oklch(39.7% 0.107 135.8);
Tailwind
colors: {
  custom: {
    50: '#688453',
    500: '#2a530e',
    950: '#000000',
  },
}
SCSS
$custom: #2a530e;
$custom-light: #688453;
$custom-dark: #000000;
JSON
{
  "hex": "#2a530e",
  "rgb": {
    "r": 42,
    "g": 83,
    "b": 14
  },
  "hsl": {
    "h": 95.652,
    "s": 71.134,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39722,
    "c": 0.1068,
    "h": 135.8
  },
  "luminance": 0.0671
}

Semantic roles & 50–950 ramp

primary
#2A530E
secondary
#672F8D
accent
#3AEEA5
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B02
muted
#7A7C78

Preview Lab

Preview with #2A530E

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

Preview Lab → · Contrast checker → · Palette generator →

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