#2B530C#2B530C

#2B530C is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 39.8% C 0.107 H 135.1°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#2B530C
RGBrgb(43, 83, 12)
HSLhsl(94, 75%, 19%)
HSVhsv(94, 86%, 33%)
CMYKcmyk(48.2%, 0%, 85.5%, 67.5%)
CIE-LABlab(31.18, -27.20, 34.18)
CIE-LCHlch(31.18, 43.68, 128.51°)
OKLaboklab(39.76% -0.0761 0.0758)
OKLCHoklch(39.76% 0.107 135.1)
XYZxyz(4.1558, 6.7264, 1.4271)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B530C #340C53
analogous
#4E530C #2B530C #0C5310
triadic
#2B530C #0C2B53 #530C2B
tetradic
#2B530C #0C4E53 #340C53 #53100C
square
#2B530C #0C4E53 #340C53 #53100C
split-complementary
#2B530C #100C53 #530C4E
monochromatic
#0E1B04 #0F1E04 #2B530C #478814 #62BE1B

Accessibility & contrast

On white

8.95
#2B530C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2B530C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B530C
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B530C#FFFFFF#000000##FFFFFF
##2B530C1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B00
Deuteranopia (green-blind)
#514814
Tritanopia (blue-blind)
#2A4F46
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b530c;
/* rgb */ color: rgb(43, 83, 12);
/* oklch */ color: oklch(39.8% 0.107 135.1);
Tailwind
colors: {
  custom: {
    50: '#698452',
    500: '#2b530c',
    950: '#000000',
  },
}
SCSS
$custom: #2b530c;
$custom-light: #698452;
$custom-dark: #000000;
JSON
{
  "hex": "#2b530c",
  "rgb": {
    "r": 43,
    "g": 83,
    "b": 12
  },
  "hsl": {
    "h": 93.803,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39763,
    "c": 0.10738,
    "h": 135.1
  },
  "luminance": 0.06727
}

Semantic roles & 50–950 ramp

primary
#2B530C
secondary
#642D8E
accent
#36F1A0
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B02
muted
#7A7C78

Preview Lab

Preview with #2B530C

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

Preview Lab → · Contrast checker → · Palette generator →

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