#274F0F#274F0F

#274F0F is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.4% C 0.102 H 136.4°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#274F0F
RGBrgb(39, 79, 15)
HSLhsl(98, 68%, 18%)
HSVhsv(98, 81%, 31%)
CMYKcmyk(50.6%, 0%, 81%, 69%)
CIE-LABlab(29.56, -26.62, 31.41)
CIE-LCHlch(29.56, 41.18, 130.28°)
OKLaboklab(38.39% -0.074 0.0706)
OKLCHoklch(38.39% 0.102 136.4)
XYZxyz(3.7188, 6.0576, 1.4251)
Luminance0.0606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274F0F #370F4F
analogous
#474F0F #274F0F #0F4F17
triadic
#274F0F #0F274F #4F0F27
tetradic
#274F0F #0F474F #370F4F #4F170F
square
#274F0F #0F474F #370F4F #4F170F
split-complementary
#274F0F #170F4F #4F0F47
monochromatic
#0D1A05 #0E1C05 #274F0F #408219 #5AB623

Accessibility & contrast

On white

9.50
#274F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#274F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274F0F
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274F0F#FFFFFF#000000##FFFFFF
##274F0F1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524804
Deuteranopia (green-blind)
#4D4415
Tritanopia (blue-blind)
#254C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #274f0f;
/* rgb */ color: rgb(39, 79, 15);
/* oklch */ color: oklch(38.4% 0.102 136.4);
Tailwind
colors: {
  custom: {
    50: '#668152',
    500: '#274f0f',
    950: '#000000',
  },
}
SCSS
$custom: #274f0f;
$custom-light: #668152;
$custom-dark: #000000;
JSON
{
  "hex": "#274f0f",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 15
  },
  "hsl": {
    "h": 97.5,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38385,
    "c": 0.10227,
    "h": 136.4
  },
  "luminance": 0.06058
}

Semantic roles & 50–950 ramp

primary
#274F0F
secondary
#683189
accent
#3DEBAA
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #274F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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