#2A550E#2A550E

#2A550E is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.3% C 0.110 H 136.1°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#2A550E
RGBrgb(42, 85, 14)
HSLhsl(96, 72%, 19%)
HSVhsv(96, 84%, 33%)
CMYKcmyk(50.6%, 0%, 83.5%, 66.7%)
CIE-LABlab(31.85, -28.35, 34.09)
CIE-LCHlch(31.85, 44.34, 129.75°)
OKLaboklab(40.31% -0.079 0.0759)
OKLCHoklch(40.31% 0.11 136.1)
XYZxyz(4.2825, 7.0207, 1.5448)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A550E #390E55
analogous
#4E550E #2A550E #0E5516
triadic
#2A550E #0E2A55 #550E2A
tetradic
#2A550E #0E4E55 #390E55 #55160E
square
#2A550E #0E4E55 #390E55 #55160E
split-complementary
#2A550E #160E55 #550E4E
monochromatic
#0D1A04 #102005 #2A550E #448A17 #5EBE1F

Accessibility & contrast

On white

8.73
#2A550E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2A550E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A550E
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A550E#FFFFFF#000000##FFFFFF
##2A550E1.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D01
Deuteranopia (green-blind)
#534A16
Tritanopia (blue-blind)
#285248
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a550e;
/* rgb */ color: rgb(42, 85, 14);
/* oklch */ color: oklch(40.3% 0.110 136.1);
Tailwind
colors: {
  custom: {
    50: '#698553',
    500: '#2a550e',
    950: '#000000',
  },
}
SCSS
$custom: #2a550e;
$custom-light: #698553;
$custom-dark: #000000;
JSON
{
  "hex": "#2a550e",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 14
  },
  "hsl": {
    "h": 96.338,
    "s": 71.717,
    "l": 19.412
  },
  "oklch": {
    "l": 0.4031,
    "c": 0.10956,
    "h": 136.1
  },
  "luminance": 0.07021
}

Semantic roles & 50–950 ramp

primary
#2A550E
secondary
#6A308F
accent
#39EEA7
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2A550E

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

Preview Lab → · Contrast checker → · Palette generator →

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