#686F25#686F25

#686F25 is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 52.0% C 0.097 H 114.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#686F25
RGBrgb(104, 111, 37)
HSLhsl(66, 50%, 29%)
HSVhsv(66, 67%, 44%)
CMYKcmyk(6.3%, 0%, 66.7%, 56.5%)
CIE-LABlab(44.87, -13.43, 38.90)
CIE-LCHlch(44.87, 41.15, 109.05°)
OKLaboklab(52.01% -0.0401 0.0884)
OKLCHoklch(52.01% 0.097 114.4)
XYZxyz(11.7276, 14.4457, 3.9204)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#686F25 #2C256F
analogous
#6F5125 #686F25 #436F25
triadic
#686F25 #25686F #6F2568
tetradic
#686F25 #256F51 #2C256F #6F2543
square
#686F25 #256F51 #2C256F #6F2543
split-complementary
#686F25 #25436F #51256F
monochromatic
#161708 #3D4116 #686F25 #939D34 #B8C34B

Accessibility & contrast

On white

5.40
#686F25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#686F25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #686F25
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##686F25#FFFFFF#000000##FFFFFF
##686F251.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77691B
Deuteranopia (green-blind)
#776B2A
Tritanopia (blue-blind)
#6F6860
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #686f25;
/* rgb */ color: rgb(104, 111, 37);
/* oklch */ color: oklch(52.0% 0.097 114.4);
Tailwind
colors: {
  custom: {
    50: '#959864',
    500: '#686f25',
    950: '#000000',
  },
}
SCSS
$custom: #686f25;
$custom-light: #959864;
$custom-dark: #000000;
JSON
{
  "hex": "#686f25",
  "rgb": {
    "r": 104,
    "g": 111,
    "b": 37
  },
  "hsl": {
    "h": 65.676,
    "s": 50,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52008,
    "c": 0.09707,
    "h": 114.4
  },
  "luminance": 0.14446
}

Semantic roles & 50–950 ramp

primary
#686F25
secondary
#564EA2
accent
#4EDA5B
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0D05
muted
#7E7E7A

Preview Lab

Preview with #686F25

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

Preview Lab → · Contrast checker → · Palette generator →

#686F25 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva