#2F630E#2F630E

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

Color values

HEX#2F630E
RGBrgb(47, 99, 14)
HSLhsl(97, 75%, 22%)
HSVhsv(97, 86%, 39%)
CMYKcmyk(52.5%, 0%, 85.9%, 61.2%)
CIE-LABlab(37.04, -32.76, 39.04)
CIE-LCHlch(37.04, 50.96, 130.00°)
OKLaboklab(44.64% -0.0912 0.0862)
OKLCHoklch(44.64% 0.125 136.6)
XYZxyz(5.7132, 9.5593, 1.9595)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F630E #420E63
analogous
#5A630E #2F630E #0E6318
triadic
#2F630E #0E2F63 #630E2F
tetradic
#2F630E #0E5A63 #420E63 #63180E
square
#2F630E #0E5A63 #420E63 #63180E
split-complementary
#2F630E #180E63 #630E5A
monochromatic
#0D1B04 #162D06 #2F630E #489916 #62CE1D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2f630e;
/* rgb */ color: rgb(47, 99, 14);
/* oklch */ color: oklch(44.6% 0.125 136.6);
Tailwind
colors: {
  custom: {
    50: '#6e9055',
    500: '#2f630e',
    950: '#000000',
  },
}
SCSS
$custom: #2f630e;
$custom-light: #6e9055;
$custom-dark: #000000;
JSON
{
  "hex": "#2f630e",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 14
  },
  "hsl": {
    "h": 96.706,
    "s": 75.221,
    "l": 22.157
  },
  "oklch": {
    "l": 0.44638,
    "c": 0.12548,
    "h": 136.6
  },
  "luminance": 0.0956
}

Semantic roles & 50–950 ramp

primary
#2F630E
secondary
#72309C
accent
#36F2A9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #2F630E

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

Preview Lab → · Contrast checker → · Palette generator →

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