#274A0F#274A0F

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

Color values

HEX#274A0F
RGBrgb(39, 74, 15)
HSLhsl(96, 66%, 17%)
HSVhsv(96, 80%, 29%)
CMYKcmyk(47.3%, 0%, 79.7%, 71%)
CIE-LABlab(27.75, -24.27, 29.60)
CIE-LCHlch(27.75, 38.28, 129.35°)
OKLaboklab(36.9% -0.0677 0.0668)
OKLCHoklch(36.9% 0.095 135.4)
XYZxyz(3.3716, 5.3632, 1.3094)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274A0F #320F4A
analogous
#454A0F #274A0F #0F4A14
triadic
#274A0F #0F274A #4A0F27
tetradic
#274A0F #0F454A #320F4A #4A140F
square
#274A0F #0F454A #320F4A #4A140F
split-complementary
#274A0F #140F4A #4A0F45
monochromatic
#0D1905 #0D1905 #274A0F #427D19 #5DB024

Accessibility & contrast

On white

10.13
#274A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274A0F
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274A0F#FFFFFF#000000##FFFFFF
##274A0F1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #274a0f;
/* rgb */ color: rgb(39, 74, 15);
/* oklch */ color: oklch(36.9% 0.095 135.4);
Tailwind
colors: {
  custom: {
    50: '#657d52',
    500: '#274a0f',
    950: '#000000',
  },
}
SCSS
$custom: #274a0f;
$custom-light: #657d52;
$custom-dark: #000000;
JSON
{
  "hex": "#274a0f",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 15
  },
  "hsl": {
    "h": 95.593,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36899,
    "c": 0.09507,
    "h": 135.4
  },
  "luminance": 0.05363
}

Semantic roles & 50–950 ramp

primary
#274A0F
secondary
#623084
accent
#3FE9A4
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #274A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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