#274D0B#274D0B

#274D0B is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 37.8% C 0.102 H 135.4°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#274D0B
RGBrgb(39, 77, 11)
HSLhsl(95, 75%, 17%)
HSVhsv(95, 86%, 30%)
CMYKcmyk(49.4%, 0%, 85.7%, 69.8%)
CIE-LABlab(28.81, -25.98, 32.23)
CIE-LCHlch(28.81, 41.40, 128.87°)
OKLaboklab(37.76% -0.0726 0.0716)
OKLCHoklch(37.76% 0.102 135.4)
XYZxyz(3.5509, 5.7630, 1.2418)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274D0B #310B4D
analogous
#484D0B #274D0B #0B4D10
triadic
#274D0B #0B274D #4D0B27
tetradic
#274D0B #0B484D #310B4D #4D100B
square
#274D0B #0B484D #310B4D #4D100B
split-complementary
#274D0B #100B4D #4D0B48
monochromatic
#0E1B04 #0E1B04 #274D0B #428313 #5DB81A

Accessibility & contrast

On white

9.76
#274D0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#274D0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274D0B
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274D0B#FFFFFF#000000##FFFFFF
##274D0B1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504600
Deuteranopia (green-blind)
#4B4312
Tritanopia (blue-blind)
#264A41
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #274d0b;
/* rgb */ color: rgb(39, 77, 11);
/* oklch */ color: oklch(37.8% 0.102 135.4);
Tailwind
colors: {
  custom: {
    50: '#667f50',
    500: '#274d0b',
    950: '#000000',
  },
}
SCSS
$custom: #274d0b;
$custom-light: #667f50;
$custom-dark: #000000;
JSON
{
  "hex": "#274d0b",
  "rgb": {
    "r": 39,
    "g": 77,
    "b": 11
  },
  "hsl": {
    "h": 94.545,
    "s": 75,
    "l": 17.255
  },
  "oklch": {
    "l": 0.37761,
    "c": 0.10197,
    "h": 135.4
  },
  "luminance": 0.05763
}

Semantic roles & 50–950 ramp

primary
#274D0B
secondary
#612B89
accent
#36F2A2
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #274D0B

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

Preview Lab → · Contrast checker → · Palette generator →

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