#6F7D18#6F7D18

#6F7D18 is a mid, vivid yellow. Relative luminance 0.181; OKLCH L 55.9% C 0.121 H 117.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#6F7D18
RGBrgb(111, 125, 24)
HSLhsl(68, 68%, 29%)
HSVhsv(68, 81%, 49%)
CMYKcmyk(11.2%, 0%, 80.8%, 51%)
CIE-LABlab(49.63, -18.50, 48.85)
CIE-LCHlch(49.63, 52.24, 110.74°)
OKLaboklab(55.95% -0.0559 0.1069)
OKLCHoklch(55.95% 0.121 117.6)
XYZxyz(14.0544, 18.1128, 3.6197)
Luminance0.1811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7D18 #26187D
analogous
#7D5918 #6F7D18 #3D7D18
triadic
#6F7D18 #186F7D #7D186F
tetradic
#6F7D18 #187D59 #26187D #7D183D
square
#6F7D18 #187D59 #26187D #7D183D
split-complementary
#6F7D18 #183D7D #59187D
monochromatic
#171A05 #414A0E #6F7D18 #9DB022 #C2D937

Accessibility & contrast

On white

4.54
#6F7D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#6F7D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F7D18
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7D18#FFFFFF#000000##000000
##6F7D181.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#857722
Tritanopia (blue-blind)
#76766A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6f7d18;
/* rgb */ color: rgb(111, 125, 24);
/* oklch */ color: oklch(55.9% 0.121 117.6);
Tailwind
colors: {
  custom: {
    50: '#9ba25f',
    500: '#6f7d18',
    950: '#000000',
  },
}
SCSS
$custom: #6f7d18;
$custom-light: #9ba25f;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7d18",
  "rgb": {
    "r": 111,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 68.317,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55948,
    "c": 0.12059,
    "h": 117.6
  },
  "luminance": 0.18113
}

Semantic roles & 50–950 ramp

primary
#6F7D18
secondary
#4F3FB2
accent
#3DEB55
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0F0F05
muted
#7E7E79

Preview Lab

Preview with #6F7D18

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

Preview Lab → · Contrast checker → · Palette generator →

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