#2D6310#2D6310

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

Color values

HEX#2D6310
RGBrgb(45, 99, 16)
HSLhsl(99, 72%, 23%)
HSVhsv(99, 84%, 39%)
CMYKcmyk(54.5%, 0%, 83.8%, 61.2%)
CIE-LABlab(36.96, -33.30, 38.28)
CIE-LCHlch(36.96, 50.74, 131.02°)
OKLaboklab(44.56% -0.0924 0.085)
OKLCHoklch(44.56% 0.126 137.4)
XYZxyz(5.6374, 9.5186, 2.0303)
Luminance0.0952 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6310 #461063
analogous
#576310 #2D6310 #10631C
triadic
#2D6310 #102D63 #63102D
tetradic
#2D6310 #105763 #461063 #631C10
square
#2D6310 #105763 #461063 #631C10
split-complementary
#2D6310 #1C1063 #631057
monochromatic
#0C1A04 #152E07 #2D6310 #459819 #5DCC21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D6310#FFFFFF#000000##FFFFFF
##2D63101.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)
#60551A
Tritanopia (blue-blind)
#295F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2d6310;
/* rgb */ color: rgb(45, 99, 16);
/* oklch */ color: oklch(44.6% 0.126 137.4);
Tailwind
colors: {
  custom: {
    50: '#6d9056',
    500: '#2d6310',
    950: '#000000',
  },
}
SCSS
$custom: #2d6310;
$custom-light: #6d9056;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6310",
  "rgb": {
    "r": 45,
    "g": 99,
    "b": 16
  },
  "hsl": {
    "h": 99.036,
    "s": 72.174,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44555,
    "c": 0.12553,
    "h": 137.4
  },
  "luminance": 0.09519
}

Semantic roles & 50–950 ramp

primary
#2D6310
secondary
#77339C
accent
#39EFAF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D6310

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

Preview Lab → · Contrast checker → · Palette generator →

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