#274D0C#274D0C

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

Color values

HEX#274D0C
RGBrgb(39, 77, 12)
HSLhsl(95, 73%, 17%)
HSVhsv(95, 84%, 30%)
CMYKcmyk(49.4%, 0%, 84.4%, 69.8%)
CIE-LABlab(28.81, -25.92, 31.87)
CIE-LCHlch(28.81, 41.08, 129.12°)
OKLaboklab(37.77% -0.0724 0.071)
OKLCHoklch(37.77% 0.101 135.5)
XYZxyz(3.5569, 5.7654, 1.2732)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274D0C #320C4D
analogous
#484D0C #274D0C #0C4D11
triadic
#274D0C #0C274D #4D0C27
tetradic
#274D0C #0C484D #320C4D #4D110C
square
#274D0C #0C484D #320C4D #4D110C
split-complementary
#274D0C #110C4D #4D0C48
monochromatic
#0D1A04 #0D1A04 #274D0C #428214 #5DB71D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##274D0C#FFFFFF#000000##FFFFFF
##274D0C1.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)
#504601
Deuteranopia (green-blind)
#4B4313
Tritanopia (blue-blind)
#264A41
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #274d0c;
/* rgb */ color: rgb(39, 77, 12);
/* oklch */ color: oklch(37.8% 0.101 135.5);
Tailwind
colors: {
  custom: {
    50: '#667f51',
    500: '#274d0c',
    950: '#000000',
  },
}
SCSS
$custom: #274d0c;
$custom-light: #667f51;
$custom-dark: #000000;
JSON
{
  "hex": "#274d0c",
  "rgb": {
    "r": 39,
    "g": 77,
    "b": 12
  },
  "hsl": {
    "h": 95.077,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37768,
    "c": 0.10138,
    "h": 135.5
  },
  "luminance": 0.05766
}

Semantic roles & 50–950 ramp

primary
#274D0C
secondary
#622C89
accent
#38F0A3
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #274D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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