#2F3A02#2F3A02

#2F3A02 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.7% C 0.077 H 121.0°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#2F3A02
RGBrgb(47, 58, 2)
HSLhsl(72, 93%, 12%)
HSVhsv(72, 97%, 23%)
CMYKcmyk(19%, 0%, 96.6%, 77.3%)
CIE-LABlab(22.43, -13.13, 29.84)
CIE-LCHlch(22.43, 32.60, 113.76°)
OKLaboklab(32.68% -0.0394 0.0656)
OKLCHoklch(32.68% 0.077 121)
XYZxyz(2.6964, 3.6348, 0.6170)
Luminance0.0364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3A02 #0D023A
analogous
#3A2902 #2F3A02 #133A02
triadic
#2F3A02 #022F3A #3A022F
tetradic
#2F3A02 #023A29 #0D023A #3A0213
square
#2F3A02 #023A29 #0D023A #3A0213
split-complementary
#2F3A02 #02133A #29023A
monochromatic
#181E01 #181E01 #2F3A02 #5F7504 #8FB006

Accessibility & contrast

On white

12.16
#2F3A02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2F3A02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3A02
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3A02#FFFFFF#000000##FFFFFF
##2F3A021.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3600
Deuteranopia (green-blind)
#3D3607
Tritanopia (blue-blind)
#323630
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2f3a02;
/* rgb */ color: rgb(47, 58, 2);
/* oklch */ color: oklch(32.7% 0.077 121.0);
Tailwind
colors: {
  custom: {
    50: '#6a7049',
    500: '#2f3a02',
    950: '#000000',
  },
}
SCSS
$custom: #2f3a02;
$custom-light: #6a7049;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3a02",
  "rgb": {
    "r": 47,
    "g": 58,
    "b": 2
  },
  "hsl": {
    "h": 71.786,
    "s": 93.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.3268,
    "c": 0.07651,
    "h": 121
  },
  "luminance": 0.03635
}

Semantic roles & 50–950 ramp

primary
#2F3A02
secondary
#2E1A7D
accent
#29FF53
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #2F3A02

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

Preview Lab → · Contrast checker → · Palette generator →

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