#2B530E#2B530E

#2B530E is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 39.8% C 0.106 H 135.4°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#2B530E
RGBrgb(43, 83, 14)
HSLhsl(95, 71%, 19%)
HSVhsv(95, 83%, 33%)
CMYKcmyk(48.2%, 0%, 83.1%, 67.5%)
CIE-LABlab(31.19, -27.07, 33.47)
CIE-LCHlch(31.19, 43.04, 128.96°)
OKLaboklab(39.78% -0.0756 0.0746)
OKLCHoklch(39.78% 0.106 135.4)
XYZxyz(4.1687, 6.7316, 1.4950)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B530E #360E53
analogous
#4E530E #2B530E #0E5314
triadic
#2B530E #0E2B53 #530E2B
tetradic
#2B530E #0E4E53 #360E53 #53140E
square
#2B530E #0E4E53 #360E53 #53140E
split-complementary
#2B530E #140E53 #530E4E
monochromatic
#0E1A04 #101F05 #2B530E #468717 #61BC20

Accessibility & contrast

On white

8.95
#2B530E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2B530E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B530E
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B530E#FFFFFF#000000##FFFFFF
##2B530E1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b530e;
/* rgb */ color: rgb(43, 83, 14);
/* oklch */ color: oklch(39.8% 0.106 135.4);
Tailwind
colors: {
  custom: {
    50: '#698453',
    500: '#2b530e',
    950: '#000000',
  },
}
SCSS
$custom: #2b530e;
$custom-light: #698453;
$custom-dark: #000000;
JSON
{
  "hex": "#2b530e",
  "rgb": {
    "r": 43,
    "g": 83,
    "b": 14
  },
  "hsl": {
    "h": 94.783,
    "s": 71.134,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39776,
    "c": 0.10622,
    "h": 135.4
  },
  "luminance": 0.06732
}

Semantic roles & 50–950 ramp

primary
#2B530E
secondary
#662F8D
accent
#3AEEA2
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B02
muted
#7A7C78

Preview Lab

Preview with #2B530E

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

Preview Lab → · Contrast checker → · Palette generator →

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