#2D630F#2D630F

#2D630F is a dark, vivid yellow-green. Relative luminance 0.095; OKLCH L 44.5% C 0.126 H 137.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#2D630F
RGBrgb(45, 99, 15)
HSLhsl(99, 74%, 22%)
HSVhsv(99, 85%, 39%)
CMYKcmyk(54.5%, 0%, 84.8%, 61.2%)
CIE-LABlab(36.96, -33.36, 38.61)
CIE-LCHlch(36.96, 51.03, 130.83°)
OKLaboklab(44.55% -0.0926 0.0855)
OKLCHoklch(44.55% 0.126 137.3)
XYZxyz(5.6301, 9.5156, 1.9919)
Luminance0.0952 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D630F #450F63
analogous
#57630F #2D630F #0F631B
triadic
#2D630F #0F2D63 #630F2D
tetradic
#2D630F #0F5763 #450F63 #631B0F
square
#2D630F #0F5763 #450F63 #631B0F
split-complementary
#2D630F #1B0F63 #630F57
monochromatic
#0C1B04 #152E07 #2D630F #459817 #5DCD1F

Accessibility & contrast

On white

7.23
#2D630F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2D630F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D630F
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D630F#FFFFFF#000000##FFFFFF
##2D630F1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A00
Deuteranopia (green-blind)
#605519
Tritanopia (blue-blind)
#295F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2d630f;
/* rgb */ color: rgb(45, 99, 15);
/* oklch */ color: oklch(44.5% 0.126 137.3);
Tailwind
colors: {
  custom: {
    50: '#6d9056',
    500: '#2d630f',
    950: '#000000',
  },
}
SCSS
$custom: #2d630f;
$custom-light: #6d9056;
$custom-dark: #000000;
JSON
{
  "hex": "#2d630f",
  "rgb": {
    "r": 45,
    "g": 99,
    "b": 15
  },
  "hsl": {
    "h": 98.571,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44549,
    "c": 0.12604,
    "h": 137.3
  },
  "luminance": 0.09516
}

Semantic roles & 50–950 ramp

primary
#2D630F
secondary
#76329C
accent
#37F0AE
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D630F

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

Preview Lab → · Contrast checker → · Palette generator →

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