#2A530D#2A530D

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

Color values

HEX#2A530D
RGBrgb(42, 83, 13)
HSLhsl(95, 73%, 19%)
HSVhsv(95, 84%, 33%)
CMYKcmyk(49.4%, 0%, 84.3%, 67.5%)
CIE-LABlab(31.13, -27.51, 33.77)
CIE-LCHlch(31.13, 43.55, 129.17°)
OKLaboklab(39.72% -0.0768 0.0751)
OKLCHoklch(39.72% 0.107 135.6)
XYZxyz(4.1206, 6.7076, 1.4583)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A530D #360D53
analogous
#4D530D #2A530D #0D5313
triadic
#2A530D #0D2A53 #530D2A
tetradic
#2A530D #0D4D53 #360D53 #53130D
square
#2A530D #0D4D53 #360D53 #53130D
split-complementary
#2A530D #130D53 #530D4D
monochromatic
#0D1A04 #0F1E05 #2A530D #458815 #60BD1E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A530D#FFFFFF#000000##FFFFFF
##2A530D1.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)
#564B00
Deuteranopia (green-blind)
#514815
Tritanopia (blue-blind)
#295046
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a530d;
/* rgb */ color: rgb(42, 83, 13);
/* oklch */ color: oklch(39.7% 0.107 135.6);
Tailwind
colors: {
  custom: {
    50: '#688452',
    500: '#2a530d',
    950: '#000000',
  },
}
SCSS
$custom: #2a530d;
$custom-light: #688452;
$custom-dark: #000000;
JSON
{
  "hex": "#2a530d",
  "rgb": {
    "r": 42,
    "g": 83,
    "b": 13
  },
  "hsl": {
    "h": 95.143,
    "s": 72.917,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39715,
    "c": 0.1074,
    "h": 135.6
  },
  "luminance": 0.06708
}

Semantic roles & 50–950 ramp

primary
#2A530D
secondary
#662E8E
accent
#38F0A4
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B02
muted
#7A7C78

Preview Lab

Preview with #2A530D

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

Preview Lab → · Contrast checker → · Palette generator →

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