#2A430C#2A430C

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

Color values

HEX#2A430C
RGBrgb(42, 67, 12)
HSLhsl(87, 70%, 15%)
HSVhsv(87, 82%, 26%)
CMYKcmyk(37.3%, 0%, 82.1%, 73.7%)
CIE-LABlab(25.36, -19.77, 28.56)
CIE-LCHlch(25.36, 34.74, 124.69°)
OKLaboklab(34.99% -0.056 0.064)
OKLCHoklch(34.99% 0.085 131.2)
XYZxyz(3.0283, 4.5330, 1.0632)
Luminance0.0453 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A430C #250C43
analogous
#43400C #2A430C #0E430C
triadic
#2A430C #0C2A43 #430C2A
tetradic
#2A430C #0C4340 #250C43 #430C0E
square
#2A430C #0C4340 #250C43 #430C0E
split-complementary
#2A430C #0C0E43 #400C43
monochromatic
#101A05 #101A05 #2A430C #4B7715 #6BAB1F

Accessibility & contrast

On white

11.01
#2A430C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A430C
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A430C#FFFFFF#000000##FFFFFF
##2A430C1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a430c;
/* rgb */ color: rgb(42, 67, 12);
/* oklch */ color: oklch(35.0% 0.085 131.2);
Tailwind
colors: {
  custom: {
    50: '#66774f',
    500: '#2a430c',
    950: '#000000',
  },
}
SCSS
$custom: #2a430c;
$custom-light: #66774f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a430c",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 12
  },
  "hsl": {
    "h": 87.273,
    "s": 69.62,
    "l": 15.49
  },
  "oklch": {
    "l": 0.34989,
    "c": 0.08503,
    "h": 131.2
  },
  "luminance": 0.04533
}

Semantic roles & 50–950 ramp

primary
#2A430C
secondary
#522C7F
accent
#3BEC8C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2A430C

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

Preview Lab → · Contrast checker → · Palette generator →

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