#2A3F10#2A3F10

#2A3F10 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.9% C 0.076 H 130.2°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#2A3F10
RGBrgb(42, 63, 16)
HSLhsl(87, 59%, 15%)
HSVhsv(87, 75%, 25%)
CMYKcmyk(33.3%, 0%, 74.6%, 75.3%)
CIE-LABlab(23.95, -17.30, 25.26)
CIE-LCHlch(23.95, 30.61, 124.41°)
OKLaboklab(33.85% -0.0488 0.0578)
OKLCHoklch(33.85% 0.076 130.2)
XYZxyz(2.8259, 4.0846, 1.1296)
Luminance0.0408 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3F10 #25103F
analogous
#3F3C10 #2A3F10 #123F10
triadic
#2A3F10 #102A3F #3F102A
tetradic
#2A3F10 #103F3C #25103F #3F1012
square
#2A3F10 #103F3C #25103F #3F1012
split-complementary
#2A3F10 #10123F #3C103F
monochromatic
#101806 #101806 #2A3F10 #4B701C #6BA129

Accessibility & contrast

On white

11.56
#2A3F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2A3F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3F10
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3F10#FFFFFF#000000##FFFFFF
##2A3F101.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0A
Deuteranopia (green-blind)
#3F3814
Tritanopia (blue-blind)
#2B3C35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2a3f10;
/* rgb */ color: rgb(42, 63, 16);
/* oklch */ color: oklch(33.9% 0.076 130.2);
Tailwind
colors: {
  custom: {
    50: '#657451',
    500: '#2a3f10',
    950: '#000000',
  },
}
SCSS
$custom: #2a3f10;
$custom-light: #657451;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3f10",
  "rgb": {
    "r": 42,
    "g": 63,
    "b": 16
  },
  "hsl": {
    "h": 86.809,
    "s": 59.494,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33852,
    "c": 0.07564,
    "h": 130.2
  },
  "luminance": 0.04085
}

Semantic roles & 50–950 ramp

primary
#2A3F10
secondary
#523279
accent
#45E38C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2A3F10

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

Preview Lab → · Contrast checker → · Palette generator →

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