#2D3F10#2D3F10

#2D3F10 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.1% C 0.074 H 127.8°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#2D3F10
RGBrgb(45, 63, 16)
HSLhsl(83, 59%, 15%)
HSVhsv(83, 75%, 25%)
CMYKcmyk(28.6%, 0%, 74.6%, 75.3%)
CIE-LABlab(24.16, -15.92, 25.55)
CIE-LCHlch(24.16, 30.10, 121.94°)
OKLaboklab(34.08% -0.0453 0.0583)
OKLCHoklch(34.08% 0.074 127.8)
XYZxyz(2.9532, 4.1503, 1.1356)
Luminance0.0415 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3F10 #22103F
analogous
#3F3910 #2D3F10 #153F10
triadic
#2D3F10 #102D3F #3F102D
tetradic
#2D3F10 #103F39 #22103F #3F1015
square
#2D3F10 #103F39 #22103F #3F1015
split-complementary
#2D3F10 #10153F #39103F
monochromatic
#111806 #111806 #2D3F10 #50701C #73A129

Accessibility & contrast

On white

11.48
#2D3F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2D3F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3F10
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3F10#FFFFFF#000000##FFFFFF
##2D3F101.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0A
Deuteranopia (green-blind)
#403914
Tritanopia (blue-blind)
#2F3C35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d3f10;
/* rgb */ color: rgb(45, 63, 16);
/* oklch */ color: oklch(34.1% 0.074 127.8);
Tailwind
colors: {
  custom: {
    50: '#687451',
    500: '#2d3f10',
    950: '#000000',
  },
}
SCSS
$custom: #2d3f10;
$custom-light: #687451;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3f10",
  "rgb": {
    "r": 45,
    "g": 63,
    "b": 16
  },
  "hsl": {
    "h": 82.979,
    "s": 59.494,
    "l": 15.49
  },
  "oklch": {
    "l": 0.3408,
    "c": 0.07383,
    "h": 127.8
  },
  "luminance": 0.0415
}

Semantic roles & 50–950 ramp

primary
#2D3F10
secondary
#4D3279
accent
#45E381
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2D3F10

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

Preview Lab → · Contrast checker → · Palette generator →

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