#274512#274512

#274512 is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.4% C 0.085 H 134.8°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#274512
RGBrgb(39, 69, 18)
HSLhsl(95, 59%, 17%)
HSVhsv(95, 74%, 27%)
CMYKcmyk(43.5%, 0%, 73.9%, 72.9%)
CIE-LABlab(25.95, -21.54, 26.35)
CIE-LCHlch(25.95, 34.03, 129.26°)
OKLaboklab(35.44% -0.06 0.0604)
OKLCHoklch(35.44% 0.085 134.8)
XYZxyz(3.0739, 4.7311, 1.3234)
Luminance0.0473 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274512 #301245
analogous
#414512 #274512 #124517
triadic
#274512 #122745 #451227
tetradic
#274512 #124145 #301245 #451712
square
#274512 #124145 #301245 #451712
split-complementary
#274512 #171245 #451241
monochromatic
#0E1806 #0E1806 #274512 #42761F #5EA62B

Accessibility & contrast

On white

10.79
#274512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#274512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274512
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274512#FFFFFF#000000##FFFFFF
##2745121.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F0B
Deuteranopia (green-blind)
#443D16
Tritanopia (blue-blind)
#26423B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #274512;
/* rgb */ color: rgb(39, 69, 18);
/* oklch */ color: oklch(35.4% 0.085 134.8);
Tailwind
colors: {
  custom: {
    50: '#647953',
    500: '#274512',
    950: '#000000',
  },
}
SCSS
$custom: #274512;
$custom-light: #647953;
$custom-dark: #000000;
JSON
{
  "hex": "#274512",
  "rgb": {
    "r": 39,
    "g": 69,
    "b": 18
  },
  "hsl": {
    "h": 95.294,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.35442,
    "c": 0.08515,
    "h": 134.8
  },
  "luminance": 0.04731
}

Semantic roles & 50–950 ramp

primary
#274512
secondary
#60357E
accent
#46E2A2
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050902
muted
#7A7B78

Preview Lab

Preview with #274512

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

Preview Lab → · Contrast checker → · Palette generator →

#274512 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva