#274A0B#274A0B

#274A0B is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 36.9% C 0.098 H 134.7°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#274A0B
RGBrgb(39, 74, 11)
HSLhsl(93, 74%, 17%)
HSVhsv(93, 85%, 29%)
CMYKcmyk(47.3%, 0%, 85.1%, 71%)
CIE-LABlab(27.72, -24.57, 31.20)
CIE-LCHlch(27.72, 39.71, 128.22°)
OKLaboklab(36.87% -0.0688 0.0694)
OKLCHoklch(36.87% 0.098 134.7)
XYZxyz(3.3458, 5.3529, 1.1735)
Luminance0.0535 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274A0B #2E0B4A
analogous
#474A0B #274A0B #0B4A0E
triadic
#274A0B #0B274A #4A0B27
tetradic
#274A0B #0B474A #2E0B4A #4A0E0B
square
#274A0B #0B474A #2E0B4A #4A0E0B
split-complementary
#274A0B #0E0B4A #4A0B47
monochromatic
#0E1B04 #0E1B04 #274A0B #437F13 #5FB51B

Accessibility & contrast

On white

10.14
#274A0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#274A0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274A0B
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274A0B#FFFFFF#000000##FFFFFF
##274A0B1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4300
Deuteranopia (green-blind)
#484012
Tritanopia (blue-blind)
#26473E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #274a0b;
/* rgb */ color: rgb(39, 74, 11);
/* oklch */ color: oklch(36.9% 0.098 134.7);
Tailwind
colors: {
  custom: {
    50: '#657d50',
    500: '#274a0b',
    950: '#000000',
  },
}
SCSS
$custom: #274a0b;
$custom-light: #657d50;
$custom-dark: #000000;
JSON
{
  "hex": "#274a0b",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 11
  },
  "hsl": {
    "h": 93.333,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.36867,
    "c": 0.09774,
    "h": 134.7
  },
  "luminance": 0.05353
}

Semantic roles & 50–950 ramp

primary
#274A0B
secondary
#5D2B86
accent
#37F19E
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #274A0B

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

Preview Lab → · Contrast checker → · Palette generator →

#274A0B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva