#2C630F#2C630F

#2C630F is a dark, vivid yellow-green. Relative luminance 0.095; OKLCH L 44.5% C 0.127 H 137.6°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#2C630F
RGBrgb(44, 99, 15)
HSLhsl(99, 74%, 22%)
HSVhsv(99, 85%, 39%)
CMYKcmyk(55.6%, 0%, 84.8%, 61.2%)
CIE-LABlab(36.92, -33.69, 38.56)
CIE-LCHlch(36.92, 51.20, 131.14°)
OKLaboklab(44.5% -0.0934 0.0854)
OKLCHoklch(44.5% 0.127 137.6)
XYZxyz(5.5866, 9.4932, 1.9898)
Luminance0.0949 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C630F #460F63
analogous
#56630F #2C630F #0F631C
triadic
#2C630F #0F2C63 #630F2C
tetradic
#2C630F #0F5663 #460F63 #631C0F
square
#2C630F #0F5663 #460F63 #631C0F
split-complementary
#2C630F #1C0F63 #630F56
monochromatic
#0C1B04 #142E07 #2C630F #449817 #5BCD1F

Accessibility & contrast

On white

7.24
#2C630F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2C630F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C630F
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C630F#FFFFFF#000000##FFFFFF
##2C630F1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A00
Deuteranopia (green-blind)
#5F5519
Tritanopia (blue-blind)
#285F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2c630f;
/* rgb */ color: rgb(44, 99, 15);
/* oklch */ color: oklch(44.5% 0.127 137.6);
Tailwind
colors: {
  custom: {
    50: '#6c9056',
    500: '#2c630f',
    950: '#000000',
  },
}
SCSS
$custom: #2c630f;
$custom-light: #6c9056;
$custom-dark: #000000;
JSON
{
  "hex": "#2c630f",
  "rgb": {
    "r": 44,
    "g": 99,
    "b": 15
  },
  "hsl": {
    "h": 99.286,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44503,
    "c": 0.12657,
    "h": 137.6
  },
  "luminance": 0.09494
}

Semantic roles & 50–950 ramp

primary
#2C630F
secondary
#77329C
accent
#37F0B1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2C630F

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

Preview Lab → · Contrast checker → · Palette generator →

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