#274B0C#274B0C

#274B0C is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.2% C 0.099 H 135.1°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#274B0C
RGBrgb(39, 75, 12)
HSLhsl(94, 72%, 17%)
HSVhsv(94, 84%, 29%)
CMYKcmyk(48%, 0%, 84%, 70.6%)
CIE-LABlab(28.09, -24.98, 31.17)
CIE-LCHlch(28.09, 39.94, 128.70°)
OKLaboklab(37.17% -0.0698 0.0695)
OKLCHoklch(37.17% 0.099 135.1)
XYZxyz(3.4191, 5.4898, 1.2272)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274B0C #300C4B
analogous
#474B0C #274B0C #0C4B11
triadic
#274B0C #0C274B #4B0C27
tetradic
#274B0C #0C474B #300C4B #4B110C
square
#274B0C #0C474B #300C4B #4B110C
split-complementary
#274B0C #110C4B #4B0C47
monochromatic
#0E1A04 #0E1A04 #274B0C #428014 #5EB51D

Accessibility & contrast

On white

10.01
#274B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#274B0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274B0C
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274B0C#FFFFFF#000000##FFFFFF
##274B0C1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4401
Deuteranopia (green-blind)
#494113
Tritanopia (blue-blind)
#26483F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #274b0c;
/* rgb */ color: rgb(39, 75, 12);
/* oklch */ color: oklch(37.2% 0.099 135.1);
Tailwind
colors: {
  custom: {
    50: '#657d50',
    500: '#274b0c',
    950: '#000000',
  },
}
SCSS
$custom: #274b0c;
$custom-light: #657d50;
$custom-dark: #000000;
JSON
{
  "hex": "#274b0c",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 12
  },
  "hsl": {
    "h": 94.286,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.37172,
    "c": 0.09855,
    "h": 135.1
  },
  "luminance": 0.0549
}

Semantic roles & 50–950 ramp

primary
#274B0C
secondary
#602C87
accent
#39EFA1
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #274B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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