#274C0B#274C0B

#274C0B is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.5% C 0.101 H 135.2°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#274C0B
RGBrgb(39, 76, 11)
HSLhsl(94, 75%, 17%)
HSVhsv(94, 86%, 30%)
CMYKcmyk(48.7%, 0%, 85.5%, 70.2%)
CIE-LABlab(28.44, -25.52, 31.89)
CIE-LCHlch(28.44, 40.84, 128.66°)
OKLaboklab(37.46% -0.0713 0.0709)
OKLCHoklch(37.46% 0.101 135.2)
XYZxyz(3.4815, 5.6242, 1.2187)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274C0B #300B4C
analogous
#484C0B #274C0B #0B4C10
triadic
#274C0B #0B274C #4C0B27
tetradic
#274C0B #0B484C #300B4C #4C100B
square
#274C0B #0B484C #300B4C #4C100B
split-complementary
#274C0B #100B4C #4C0B48
monochromatic
#0E1B04 #0E1B04 #274C0B #428113 #5EB71A

Accessibility & contrast

On white

9.88
#274C0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#274C0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274C0B
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274C0B#FFFFFF#000000##FFFFFF
##274C0B1.009.882.129.88
#FFFFFF9.881.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4500
Deuteranopia (green-blind)
#4A4212
Tritanopia (blue-blind)
#264940
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #274c0b;
/* rgb */ color: rgb(39, 76, 11);
/* oklch */ color: oklch(37.5% 0.101 135.2);
Tailwind
colors: {
  custom: {
    50: '#657e50',
    500: '#274c0b',
    950: '#000000',
  },
}
SCSS
$custom: #274c0b;
$custom-light: #657e50;
$custom-dark: #000000;
JSON
{
  "hex": "#274c0b",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 11
  },
  "hsl": {
    "h": 94.154,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.37463,
    "c": 0.10057,
    "h": 135.2
  },
  "luminance": 0.05624
}

Semantic roles & 50–950 ramp

primary
#274C0B
secondary
#602B88
accent
#36F1A1
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #274C0B

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

Preview Lab → · Contrast checker → · Palette generator →

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