#2F3C07#2F3C07

#2F3C07 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.3% C 0.075 H 122.9°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#2F3C07
RGBrgb(47, 60, 7)
HSLhsl(75, 79%, 13%)
HSVhsv(75, 88%, 24%)
CMYKcmyk(21.7%, 0%, 88.3%, 76.5%)
CIE-LABlab(23.17, -13.95, 28.58)
CIE-LCHlch(23.17, 31.80, 116.01°)
OKLaboklab(33.3% -0.0409 0.0632)
OKLCHoklch(33.3% 0.075 122.9)
XYZxyz(2.8265, 3.8514, 0.7955)
Luminance0.0385 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3C07 #14073C
analogous
#3C2E07 #2F3C07 #143C07
triadic
#2F3C07 #072F3C #3C072F
tetradic
#2F3C07 #073C2E #14073C #3C0714
square
#2F3C07 #073C2E #14073C #3C0714
split-complementary
#2F3C07 #07143C #2E073C
monochromatic
#151B03 #151B03 #2F3C07 #5A730D #85AA14

Accessibility & contrast

On white

11.86
#2F3C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2F3C07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3C07
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3C07#FFFFFF#000000##FFFFFF
##2F3C071.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403800
Deuteranopia (green-blind)
#3E370C
Tritanopia (blue-blind)
#323832
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2f3c07;
/* rgb */ color: rgb(47, 60, 7);
/* oklch */ color: oklch(33.3% 0.075 122.9);
Tailwind
colors: {
  custom: {
    50: '#6a714c',
    500: '#2f3c07',
    950: '#000000',
  },
}
SCSS
$custom: #2f3c07;
$custom-light: #6a714c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3c07",
  "rgb": {
    "r": 47,
    "g": 60,
    "b": 7
  },
  "hsl": {
    "h": 74.717,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.33297,
    "c": 0.07532,
    "h": 122.9
  },
  "luminance": 0.03851
}

Semantic roles & 50–950 ramp

primary
#2F3C07
secondary
#39237B
accent
#32F662
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3C07

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

Preview Lab → · Contrast checker → · Palette generator →

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