#30670F#30670F

#30670F is a mid, vivid yellow-green. Relative luminance 0.104; OKLCH L 45.8% C 0.130 H 136.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#30670F
RGBrgb(48, 103, 15)
HSLhsl(98, 75%, 23%)
HSVhsv(98, 85%, 40%)
CMYKcmyk(53.4%, 0%, 85.4%, 59.6%)
CIE-LABlab(38.49, -34.07, 40.07)
CIE-LCHlch(38.49, 52.59, 130.37°)
OKLaboklab(45.84% -0.0947 0.0885)
OKLCHoklch(45.84% 0.13 136.9)
XYZxyz(6.1552, 10.3629, 2.1277)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30670F #460F67
analogous
#5C670F #30670F #0F671A
triadic
#30670F #0F3067 #670F30
tetradic
#30670F #0F5C67 #460F67 #671A0F
square
#30670F #0F5C67 #460F67 #671A0F
split-complementary
#30670F #1A0F67 #670F5C
monochromatic
#0C1B04 #173207 #30670F #499C17 #62D21F

Accessibility & contrast

On white

6.83
#30670F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#30670F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30670F
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30670F#FFFFFF#000000##FFFFFF
##30670F1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5D00
Deuteranopia (green-blind)
#64591A
Tritanopia (blue-blind)
#2D6357
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #30670f;
/* rgb */ color: rgb(48, 103, 15);
/* oklch */ color: oklch(45.8% 0.130 136.9);
Tailwind
colors: {
  custom: {
    50: '#6f9356',
    500: '#30670f',
    950: '#000000',
  },
}
SCSS
$custom: #30670f;
$custom-light: #6f9356;
$custom-dark: #000000;
JSON
{
  "hex": "#30670f",
  "rgb": {
    "r": 48,
    "g": 103,
    "b": 15
  },
  "hsl": {
    "h": 97.5,
    "s": 74.576,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45842,
    "c": 0.12963,
    "h": 136.9
  },
  "luminance": 0.10363
}

Semantic roles & 50–950 ramp

primary
#30670F
secondary
#7732A0
accent
#37F1AB
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #30670F

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

Preview Lab → · Contrast checker → · Palette generator →

#30670F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva