#2F6310#2F6310

#2F6310 is a dark, vivid yellow-green. Relative luminance 0.096; OKLCH L 44.6% C 0.124 H 136.8°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#2F6310
RGBrgb(47, 99, 16)
HSLhsl(98, 72%, 23%)
HSVhsv(98, 84%, 39%)
CMYKcmyk(52.5%, 0%, 83.8%, 61.2%)
CIE-LABlab(37.05, -32.64, 38.39)
CIE-LCHlch(37.05, 50.39, 130.37°)
OKLaboklab(44.65% -0.0907 0.0852)
OKLCHoklch(44.65% 0.124 136.8)
XYZxyz(5.7275, 9.5650, 2.0345)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6310 #441063
analogous
#596310 #2F6310 #10631A
triadic
#2F6310 #102F63 #63102F
tetradic
#2F6310 #105963 #441063 #631A10
square
#2F6310 #105963 #441063 #631A10
split-complementary
#2F6310 #1A1063 #631059
monochromatic
#0D1A04 #162E07 #2F6310 #489819 #61CC21

Accessibility & contrast

On white

7.21
#2F6310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2F6310 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6310
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6310#FFFFFF#000000##FFFFFF
##2F63101.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A00
Deuteranopia (green-blind)
#60561A
Tritanopia (blue-blind)
#2C5F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f6310;
/* rgb */ color: rgb(47, 99, 16);
/* oklch */ color: oklch(44.6% 0.124 136.8);
Tailwind
colors: {
  custom: {
    50: '#6e9056',
    500: '#2f6310',
    950: '#000000',
  },
}
SCSS
$custom: #2f6310;
$custom-light: #6e9056;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6310",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 16
  },
  "hsl": {
    "h": 97.59,
    "s": 72.174,
    "l": 22.549
  },
  "oklch": {
    "l": 0.4465,
    "c": 0.12446,
    "h": 136.8
  },
  "luminance": 0.09565
}

Semantic roles & 50–950 ramp

primary
#2F6310
secondary
#75339C
accent
#39EFAB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #2F6310

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

Preview Lab → · Contrast checker → · Palette generator →

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