#2A3F14#2A3F14

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

Color values

HEX#2A3F14
RGBrgb(42, 63, 20)
HSLhsl(89, 52%, 16%)
HSVhsv(89, 68%, 25%)
CMYKcmyk(33.3%, 0%, 68.3%, 75.3%)
CIE-LABlab(23.99, -16.89, 23.22)
CIE-LCHlch(23.99, 28.71, 126.03°)
OKLaboklab(33.9% -0.0473 0.054)
OKLCHoklch(33.9% 0.072 131.2)
XYZxyz(2.8586, 4.0977, 1.3020)
Luminance0.0410 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3F14 #29143F
analogous
#3F3F14 #2A3F14 #153F14
triadic
#2A3F14 #142A3F #3F142A
tetradic
#2A3F14 #143F3F #29143F #3F1415
square
#2A3F14 #143F3F #29143F #3F1415
split-complementary
#2A3F14 #14153F #3F143F
monochromatic
#0F1707 #0F1707 #2A3F14 #496D23 #689C31

Accessibility & contrast

On white

11.54
#2A3F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3F14
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3F14#FFFFFF#000000##FFFFFF
##2A3F141.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0F
Deuteranopia (green-blind)
#3F3917
Tritanopia (blue-blind)
#2B3C36
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2a3f14;
/* rgb */ color: rgb(42, 63, 20);
/* oklch */ color: oklch(33.9% 0.072 131.2);
Tailwind
colors: {
  custom: {
    50: '#657453',
    500: '#2a3f14',
    950: '#000000',
  },
}
SCSS
$custom: #2a3f14;
$custom-light: #657453;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3f14",
  "rgb": {
    "r": 42,
    "g": 63,
    "b": 20
  },
  "hsl": {
    "h": 89.302,
    "s": 51.807,
    "l": 16.275
  },
  "oklch": {
    "l": 0.339,
    "c": 0.07179,
    "h": 131.2
  },
  "luminance": 0.04098
}

Semantic roles & 50–950 ramp

primary
#2A3F14
secondary
#573877
accent
#4DDB92
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2A3F14

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

Preview Lab → · Contrast checker → · Palette generator →

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