#2F530F#2F530F

#2F530F is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.0% C 0.103 H 133.8°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#2F530F
RGBrgb(47, 83, 15)
HSLhsl(92, 69%, 19%)
HSVhsv(92, 82%, 33%)
CMYKcmyk(43.4%, 0%, 81.9%, 67.5%)
CIE-LABlab(31.41, -25.46, 33.37)
CIE-LCHlch(31.41, 41.97, 127.35°)
OKLaboklab(40.01% -0.0715 0.0745)
OKLCHoklch(40.01% 0.103 133.8)
XYZxyz(4.3517, 6.8251, 1.5399)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F530F #330F53
analogous
#51530F #2F530F #0F5311
triadic
#2F530F #0F2F53 #530F2F
tetradic
#2F530F #0F5153 #330F53 #53110F
square
#2F530F #0F5153 #330F53 #53110F
split-complementary
#2F530F #110F53 #530F51
monochromatic
#0F1A05 #121F06 #2F530F #4C8718 #6ABB22

Accessibility & contrast

On white

8.88
#2F530F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2F530F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F530F
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F530F#FFFFFF#000000##FFFFFF
##2F530F1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C02
Deuteranopia (green-blind)
#524916
Tritanopia (blue-blind)
#2F4F46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f530f;
/* rgb */ color: rgb(47, 83, 15);
/* oklch */ color: oklch(40.0% 0.103 133.8);
Tailwind
colors: {
  custom: {
    50: '#6b8353',
    500: '#2f530f',
    950: '#000000',
  },
}
SCSS
$custom: #2f530f;
$custom-light: #6b8353;
$custom-dark: #000000;
JSON
{
  "hex": "#2f530f",
  "rgb": {
    "r": 47,
    "g": 83,
    "b": 15
  },
  "hsl": {
    "h": 91.765,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.40014,
    "c": 0.10325,
    "h": 133.8
  },
  "luminance": 0.06825
}

Semantic roles & 50–950 ramp

primary
#2F530F
secondary
#62318D
accent
#3CEC99
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2F530F

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

Preview Lab → · Contrast checker → · Palette generator →

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