#2F3902#2F3902

#2F3902 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.4% C 0.075 H 120.2°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#2F3902
RGBrgb(47, 57, 2)
HSLhsl(71, 93%, 12%)
HSVhsv(71, 96%, 22%)
CMYKcmyk(17.5%, 0%, 96.5%, 77.6%)
CIE-LABlab(22.07, -12.55, 29.47)
CIE-LCHlch(22.07, 32.03, 113.07°)
OKLaboklab(32.39% -0.0378 0.065)
OKLCHoklch(32.39% 0.075 120.2)
XYZxyz(2.6464, 3.5350, 0.6003)
Luminance0.0353 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3902 #0C0239
analogous
#392802 #2F3902 #143902
triadic
#2F3902 #022F39 #39022F
tetradic
#2F3902 #023928 #0C0239 #390214
square
#2F3902 #023928 #0C0239 #390214
split-complementary
#2F3902 #021439 #280239
monochromatic
#181E01 #181E01 #2F3902 #607404 #91AF06

Accessibility & contrast

On white

12.30
#2F3902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2F3902 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3902
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3902#FFFFFF#000000##FFFFFF
##2F39021.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#3C3507
Tritanopia (blue-blind)
#32352F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2f3902;
/* rgb */ color: rgb(47, 57, 2);
/* oklch */ color: oklch(32.4% 0.075 120.2);
Tailwind
colors: {
  custom: {
    50: '#6a6f49',
    500: '#2f3902',
    950: '#000000',
  },
}
SCSS
$custom: #2f3902;
$custom-light: #6a6f49;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3902",
  "rgb": {
    "r": 47,
    "g": 57,
    "b": 2
  },
  "hsl": {
    "h": 70.909,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.32393,
    "c": 0.07516,
    "h": 120.2
  },
  "luminance": 0.03535
}

Semantic roles & 50–950 ramp

primary
#2F3902
secondary
#2C1A7D
accent
#29FF50
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #2F3902

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

Preview Lab → · Contrast checker → · Palette generator →

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