#2C530F#2C530F

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

Color values

HEX#2C530F
RGBrgb(44, 83, 15)
HSLhsl(94, 69%, 19%)
HSVhsv(94, 82%, 33%)
CMYKcmyk(47%, 0%, 81.9%, 67.5%)
CIE-LABlab(31.25, -26.62, 33.16)
CIE-LCHlch(31.25, 42.52, 128.76°)
OKLaboklab(39.84% -0.0744 0.0741)
OKLCHoklch(39.84% 0.105 135.1)
XYZxyz(4.2181, 6.7562, 1.5337)
Luminance0.0676 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C530F #360F53
analogous
#4E530F #2C530F #0F5314
triadic
#2C530F #0F2C53 #530F2C
tetradic
#2C530F #0F4E53 #360F53 #53140F
square
#2C530F #0F4E53 #360F53 #53140F
split-complementary
#2C530F #140F53 #530F4E
monochromatic
#0E1A05 #111F06 #2C530F #478718 #63BB22

Accessibility & contrast

On white

8.93
#2C530F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C530F
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C530F#FFFFFF#000000##FFFFFF
##2C530F1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C03
Deuteranopia (green-blind)
#514816
Tritanopia (blue-blind)
#2B5046
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c530f;
/* rgb */ color: rgb(44, 83, 15);
/* oklch */ color: oklch(39.8% 0.105 135.1);
Tailwind
colors: {
  custom: {
    50: '#698453',
    500: '#2c530f',
    950: '#000000',
  },
}
SCSS
$custom: #2c530f;
$custom-light: #698453;
$custom-dark: #000000;
JSON
{
  "hex": "#2c530f",
  "rgb": {
    "r": 44,
    "g": 83,
    "b": 15
  },
  "hsl": {
    "h": 94.412,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.3984,
    "c": 0.10502,
    "h": 135.1
  },
  "luminance": 0.06756
}

Semantic roles & 50–950 ramp

primary
#2C530F
secondary
#66318D
accent
#3CECA1
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C530F

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

Preview Lab → · Contrast checker → · Palette generator →

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