#1B530C#1B530C

#1B530C is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.0% C 0.116 H 140.1°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#1B530C
RGBrgb(27, 83, 12)
HSLhsl(107, 75%, 19%)
HSVhsv(107, 86%, 33%)
CMYKcmyk(67.5%, 0%, 85.5%, 67.5%)
CIE-LABlab(30.51, -32.38, 33.32)
CIE-LCHlch(30.51, 46.46, 134.18°)
OKLaboklab(39.03% -0.0889 0.0742)
OKLCHoklch(39.03% 0.116 140.1)
XYZxyz(3.6114, 6.4457, 1.4016)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B530C #440C53
analogous
#3E530C #1B530C #0C5320
triadic
#1B530C #0C1B53 #530C1B
tetradic
#1B530C #0C3E53 #440C53 #53200C
square
#1B530C #0C3E53 #440C53 #53200C
split-complementary
#1B530C #200C53 #530C3E
monochromatic
#091B04 #0A1E04 #1B530C #2C8814 #3EBE1B

Accessibility & contrast

On white

9.17
#1B530C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#1B530C on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1B530C#FFFFFF#000000##FFFFFF
##1B530C1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B00
Deuteranopia (green-blind)
#4F4614
Tritanopia (blue-blind)
#135046
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1b530c;
/* rgb */ color: rgb(27, 83, 12);
/* oklch */ color: oklch(39.0% 0.116 140.1);
Tailwind
colors: {
  custom: {
    50: '#608451',
    500: '#1b530c',
    950: '#000000',
  },
}
SCSS
$custom: #1b530c;
$custom-light: #608451;
$custom-dark: #000000;
JSON
{
  "hex": "#1b530c",
  "rgb": {
    "r": 27,
    "g": 83,
    "b": 12
  },
  "hsl": {
    "h": 107.324,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39029,
    "c": 0.11577,
    "h": 140.1
  },
  "luminance": 0.06446
}

Semantic roles & 50–950 ramp

primary
#1B530C
secondary
#7A2D8E
accent
#36F1CA
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#050B02
muted
#7A7C78

Preview Lab

Preview with #1B530C

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

Preview Lab → · Contrast checker → · Palette generator →

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