#2F430B#2F430B

#2F430B is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.3% C 0.083 H 127.6°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#2F430B
RGBrgb(47, 67, 11)
HSLhsl(81, 72%, 15%)
HSVhsv(81, 84%, 26%)
CMYKcmyk(29.9%, 0%, 83.6%, 73.7%)
CIE-LABlab(25.69, -17.59, 29.42)
CIE-LCHlch(25.69, 34.28, 120.87°)
OKLaboklab(35.35% -0.0505 0.0655)
OKLCHoklch(35.35% 0.083 127.6)
XYZxyz(3.2399, 4.6427, 1.0420)
Luminance0.0464 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F430B #1F0B43
analogous
#433B0B #2F430B #13430B
triadic
#2F430B #0B2F43 #430B2F
tetradic
#2F430B #0B433B #1F0B43 #430B13
square
#2F430B #0B433B #1F0B43 #430B13
split-complementary
#2F430B #0B1343 #3B0B43
monochromatic
#121A04 #121A04 #2F430B #547814 #79AC1C

Accessibility & contrast

On white

10.89
#2F430B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2F430B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F430B
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F430B#FFFFFF#000000##FFFFFF
##2F430B1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E02
Deuteranopia (green-blind)
#443C10
Tritanopia (blue-blind)
#314038
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f430b;
/* rgb */ color: rgb(47, 67, 11);
/* oklch */ color: oklch(35.3% 0.083 127.6);
Tailwind
colors: {
  custom: {
    50: '#6a774f',
    500: '#2f430b',
    950: '#000000',
  },
}
SCSS
$custom: #2f430b;
$custom-light: #6a774f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f430b",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 11
  },
  "hsl": {
    "h": 81.429,
    "s": 71.795,
    "l": 15.294
  },
  "oklch": {
    "l": 0.35346,
    "c": 0.08271,
    "h": 127.6
  },
  "luminance": 0.04643
}

Semantic roles & 50–950 ramp

primary
#2F430B
secondary
#492A80
accent
#39EF7A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #2F430B

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

Preview Lab → · Contrast checker → · Palette generator →

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