#2A430B#2A430B

#2A430B is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.0% C 0.086 H 131.0°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#2A430B
RGBrgb(42, 67, 11)
HSLhsl(87, 72%, 15%)
HSVhsv(87, 84%, 26%)
CMYKcmyk(37.3%, 0%, 83.6%, 73.7%)
CIE-LABlab(25.35, -19.84, 28.98)
CIE-LCHlch(25.35, 35.12, 124.40°)
OKLaboklab(34.98% -0.0562 0.0647)
OKLCHoklch(34.98% 0.086 131)
XYZxyz(3.0224, 4.5306, 1.0318)
Luminance0.0453 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A430B #240B43
analogous
#43400B #2A430B #0E430B
triadic
#2A430B #0B2A43 #430B2A
tetradic
#2A430B #0B4340 #240B43 #430B0E
square
#2A430B #0B4340 #240B43 #430B0E
split-complementary
#2A430B #0B0E43 #400B43
monochromatic
#101A04 #101A04 #2A430B #4B7814 #6CAC1C

Accessibility & contrast

On white

11.02
#2A430B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2A430B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A430B
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A430B#FFFFFF#000000##FFFFFF
##2A430B1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D02
Deuteranopia (green-blind)
#433B10
Tritanopia (blue-blind)
#2B4038
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a430b;
/* rgb */ color: rgb(42, 67, 11);
/* oklch */ color: oklch(35.0% 0.086 131.0);
Tailwind
colors: {
  custom: {
    50: '#66774f',
    500: '#2a430b',
    950: '#000000',
  },
}
SCSS
$custom: #2a430b;
$custom-light: #66774f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a430b",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 11
  },
  "hsl": {
    "h": 86.786,
    "s": 71.795,
    "l": 15.294
  },
  "oklch": {
    "l": 0.34981,
    "c": 0.08573,
    "h": 131
  },
  "luminance": 0.04531
}

Semantic roles & 50–950 ramp

primary
#2A430B
secondary
#502A80
accent
#39EF8A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2A430B

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

Preview Lab → · Contrast checker → · Palette generator →

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