#274E0B#274E0B

#274E0B is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.1% C 0.103 H 135.6°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#274E0B
RGBrgb(39, 78, 11)
HSLhsl(95, 75%, 17%)
HSVhsv(95, 86%, 31%)
CMYKcmyk(50%, 0%, 85.9%, 69.4%)
CIE-LABlab(29.17, -26.45, 32.58)
CIE-LCHlch(29.17, 41.96, 129.07°)
OKLaboklab(38.06% -0.0739 0.0723)
OKLCHoklch(38.06% 0.103 135.6)
XYZxyz(3.6214, 5.9041, 1.2653)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274E0B #320B4E
analogous
#494E0B #274E0B #0B4E10
triadic
#274E0B #0B274E #4E0B27
tetradic
#274E0B #0B494E #320B4E #4E100B
square
#274E0B #0B494E #320B4E #4E100B
split-complementary
#274E0B #100B4E #4E0B49
monochromatic
#0D1B04 #0D1B04 #274E0B #428413 #5DB91A

Accessibility & contrast

On white

9.63
#274E0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#274E0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274E0B
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274E0B#FFFFFF#000000##FFFFFF
##274E0B1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514700
Deuteranopia (green-blind)
#4C4412
Tritanopia (blue-blind)
#264B42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #274e0b;
/* rgb */ color: rgb(39, 78, 11);
/* oklch */ color: oklch(38.1% 0.103 135.6);
Tailwind
colors: {
  custom: {
    50: '#668050',
    500: '#274e0b',
    950: '#000000',
  },
}
SCSS
$custom: #274e0b;
$custom-light: #668050;
$custom-dark: #000000;
JSON
{
  "hex": "#274e0b",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 11
  },
  "hsl": {
    "h": 94.925,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.38058,
    "c": 0.10336,
    "h": 135.6
  },
  "luminance": 0.05904
}

Semantic roles & 50–950 ramp

primary
#274E0B
secondary
#622B8A
accent
#36F2A3
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #274E0B

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

Preview Lab → · Contrast checker → · Palette generator →

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