#2F380F#2F380F

#2F380F is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.2% C 0.063 H 120.6°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#2F380F
RGBrgb(47, 56, 15)
HSLhsl(73, 58%, 14%)
HSVhsv(73, 73%, 22%)
CMYKcmyk(16.1%, 0%, 73.2%, 78%)
CIE-LABlab(21.83, -11.00, 23.61)
CIE-LCHlch(21.83, 26.04, 114.97°)
OKLaboklab(32.23% -0.0319 0.054)
OKLCHoklch(32.23% 0.063 120.6)
XYZxyz(2.6727, 3.4672, 0.9803)
Luminance0.0347 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F380F #180F38
analogous
#382D0F #2F380F #1B380F
triadic
#2F380F #0F2F38 #380F2F
tetradic
#2F380F #0F382D #180F38 #380F1B
square
#2F380F #0F382D #180F38 #380F1B
split-complementary
#2F380F #0F1B38 #2D0F38
monochromatic
#141806 #141806 #2F380F #58681C #809929

Accessibility & contrast

On white

12.40
#2F380F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2F380F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F380F
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F380F#FFFFFF#000000##FFFFFF
##2F380F1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C340A
Deuteranopia (green-blind)
#3B3412
Tritanopia (blue-blind)
#32352F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2f380f;
/* rgb */ color: rgb(47, 56, 15);
/* oklch */ color: oklch(32.2% 0.063 120.6);
Tailwind
colors: {
  custom: {
    50: '#696e4f',
    500: '#2f380f',
    950: '#000000',
  },
}
SCSS
$custom: #2f380f;
$custom-light: #696e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f380f",
  "rgb": {
    "r": 47,
    "g": 56,
    "b": 15
  },
  "hsl": {
    "h": 73.171,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.3223,
    "c": 0.06273,
    "h": 120.6
  },
  "luminance": 0.03467
}

Semantic roles & 50–950 ramp

primary
#2F380F
secondary
#3F3072
accent
#47E169
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2F380F

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

Preview Lab → · Contrast checker → · Palette generator →

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