#274F0C#274F0C

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

Color values

HEX#274F0C
RGBrgb(39, 79, 12)
HSLhsl(96, 74%, 18%)
HSVhsv(96, 85%, 31%)
CMYKcmyk(50.6%, 0%, 84.8%, 69%)
CIE-LABlab(29.54, -26.84, 32.56)
CIE-LCHlch(29.54, 42.20, 129.50°)
OKLaboklab(38.36% -0.0748 0.0725)
OKLCHoklch(38.36% 0.104 135.9)
XYZxyz(3.6989, 6.0496, 1.3205)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274F0C #340C4F
analogous
#484F0C #274F0C #0C4F13
triadic
#274F0C #0C274F #4F0C27
tetradic
#274F0C #0C484F #340C4F #4F130C
square
#274F0C #0C484F #340C4F #4F130C
split-complementary
#274F0C #130C4F #4F0C48
monochromatic
#0D1B04 #0D1B04 #274F0C #418414 #5BB91C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##274F0C#FFFFFF#000000##FFFFFF
##274F0C1.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)
#524800
Deuteranopia (green-blind)
#4D4413
Tritanopia (blue-blind)
#254C42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #274f0c;
/* rgb */ color: rgb(39, 79, 12);
/* oklch */ color: oklch(38.4% 0.104 135.9);
Tailwind
colors: {
  custom: {
    50: '#668151',
    500: '#274f0c',
    950: '#000000',
  },
}
SCSS
$custom: #274f0c;
$custom-light: #668151;
$custom-dark: #000000;
JSON
{
  "hex": "#274f0c",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 12
  },
  "hsl": {
    "h": 95.821,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.38363,
    "c": 0.10417,
    "h": 135.9
  },
  "luminance": 0.0605
}

Semantic roles & 50–950 ramp

primary
#274F0C
secondary
#652C8B
accent
#38F0A6
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #274F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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