#274D0F#274D0F

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

Color values

HEX#274D0F
RGBrgb(39, 77, 15)
HSLhsl(97, 67%, 18%)
HSVhsv(97, 81%, 30%)
CMYKcmyk(49.4%, 0%, 80.5%, 69.8%)
CIE-LABlab(28.83, -25.69, 30.69)
CIE-LCHlch(28.83, 40.03, 129.93°)
OKLaboklab(37.79% -0.0715 0.0691)
OKLCHoklch(37.79% 0.099 136)
XYZxyz(3.5767, 5.7734, 1.3777)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274D0F #350F4D
analogous
#464D0F #274D0F #0F4D16
triadic
#274D0F #0F274D #4D0F27
tetradic
#274D0F #0F464D #350F4D #4D160F
square
#274D0F #0F464D #350F4D #4D160F
split-complementary
#274D0F #160F4D #4D0F46
monochromatic
#0D1A05 #0D1A05 #274D0F #418019 #5BB323

Accessibility & contrast

On white

9.75
#274D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274D0F
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274D0F#FFFFFF#000000##FFFFFF
##274D0F1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504605
Deuteranopia (green-blind)
#4B4315
Tritanopia (blue-blind)
#254A41
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #274d0f;
/* rgb */ color: rgb(39, 77, 15);
/* oklch */ color: oklch(37.8% 0.099 136.0);
Tailwind
colors: {
  custom: {
    50: '#657f52',
    500: '#274d0f',
    950: '#000000',
  },
}
SCSS
$custom: #274d0f;
$custom-light: #657f52;
$custom-dark: #000000;
JSON
{
  "hex": "#274d0f",
  "rgb": {
    "r": 39,
    "g": 77,
    "b": 15
  },
  "hsl": {
    "h": 96.774,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37791,
    "c": 0.09942,
    "h": 136
  },
  "luminance": 0.05774
}

Semantic roles & 50–950 ramp

primary
#274D0F
secondary
#663187
accent
#3EEAA7
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #274D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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