#6F7E1B#6F7E1B

#6F7E1B is a mid, vivid yellow. Relative luminance 0.184; OKLCH L 56.2% C 0.120 H 118.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#6F7E1B
RGBrgb(111, 126, 27)
HSLhsl(69, 65%, 30%)
HSVhsv(69, 79%, 49%)
CMYKcmyk(11.9%, 0%, 78.6%, 50.6%)
CIE-LABlab(49.95, -18.89, 48.15)
CIE-LCHlch(49.95, 51.72, 111.42°)
OKLaboklab(56.21% -0.0567 0.1059)
OKLCHoklch(56.21% 0.12 118.2)
XYZxyz(14.2146, 18.3805, 3.8357)
Luminance0.1838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7E1B #2A1B7E
analogous
#7E5C1B #6F7E1B #3D7E1B
triadic
#6F7E1B #1B6F7E #7E1B6F
tetradic
#6F7E1B #1B7E5C #2A1B7E #7E1B3D
square
#6F7E1B #1B7E5C #2A1B7E #7E1B3D
split-complementary
#6F7E1B #1B3D7E #5C1B7E
monochromatic
#161905 #434C10 #6F7E1B #9BB026 #BFD63E

Accessibility & contrast

On white

4.49
#6F7E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#6F7E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F7E1B
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7E1B#FFFFFF#000000##000000
##6F7E1B1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#877703
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#76776B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6f7e1b;
/* rgb */ color: rgb(111, 126, 27);
/* oklch */ color: oklch(56.2% 0.120 118.2);
Tailwind
colors: {
  custom: {
    50: '#9ba360',
    500: '#6f7e1b',
    950: '#000000',
  },
}
SCSS
$custom: #6f7e1b;
$custom-light: #9ba360;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7e1b",
  "rgb": {
    "r": 111,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 69.091,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.56212,
    "c": 0.12015,
    "h": 118.2
  },
  "luminance": 0.1838
}

Semantic roles & 50–950 ramp

primary
#6F7E1B
secondary
#5443B2
accent
#40E85A
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6F7E1B

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

Preview Lab → · Contrast checker → · Palette generator →

#6F7E1B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva