#2F630F#2F630F

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

Color values

HEX#2F630F
RGBrgb(47, 99, 15)
HSLhsl(97, 74%, 22%)
HSVhsv(97, 85%, 39%)
CMYKcmyk(52.5%, 0%, 84.8%, 61.2%)
CIE-LABlab(37.04, -32.70, 38.72)
CIE-LCHlch(37.04, 50.68, 130.18°)
OKLaboklab(44.64% -0.091 0.0857)
OKLCHoklch(44.64% 0.125 136.7)
XYZxyz(5.7202, 9.5621, 1.9961)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F630F #430F63
analogous
#59630F #2F630F #0F6319
triadic
#2F630F #0F2F63 #630F2F
tetradic
#2F630F #0F5963 #430F63 #63190F
square
#2F630F #0F5963 #430F63 #63190F
split-complementary
#2F630F #190F63 #630F59
monochromatic
#0D1B04 #162E07 #2F630F #489817 #61CD1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F630F#FFFFFF#000000##FFFFFF
##2F630F1.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)
#605619
Tritanopia (blue-blind)
#2C5F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f630f;
/* rgb */ color: rgb(47, 99, 15);
/* oklch */ color: oklch(44.6% 0.125 136.7);
Tailwind
colors: {
  custom: {
    50: '#6e9056',
    500: '#2f630f',
    950: '#000000',
  },
}
SCSS
$custom: #2f630f;
$custom-light: #6e9056;
$custom-dark: #000000;
JSON
{
  "hex": "#2f630f",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 15
  },
  "hsl": {
    "h": 97.143,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44643,
    "c": 0.12498,
    "h": 136.7
  },
  "luminance": 0.09563
}

Semantic roles & 50–950 ramp

primary
#2F630F
secondary
#74329C
accent
#37F0AA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #2F630F

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

Preview Lab → · Contrast checker → · Palette generator →

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