#78651F#78651F

#78651F is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 51.2% C 0.090 H 93.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#78651F
RGBrgb(120, 101, 31)
HSLhsl(47, 59%, 30%)
HSVhsv(47, 74%, 47%)
CMYKcmyk(0%, 15.8%, 74.2%, 52.9%)
CIE-LABlab(43.36, -0.60, 40.52)
CIE-LCHlch(43.36, 40.52, 90.84°)
OKLaboklab(51.16% -0.0055 0.0902)
OKLCHoklch(51.16% 0.09 93.5)
XYZxyz(12.6474, 13.4001, 3.2164)
Luminance0.1340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78651F #1F3278
analogous
#78391F #78651F #5F781F
triadic
#78651F #1F7865 #651F78
tetradic
#78651F #1F7839 #1F3278 #781F5F
square
#78651F #1F7839 #1F3278 #781F5F
split-complementary
#78651F #1F5F78 #391F78
monochromatic
#181406 #473C12 #78651F #A98E2C #CEB143

Accessibility & contrast

On white

5.71
#78651F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#78651F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78651F
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78651F#FFFFFF#000000##FFFFFF
##78651F1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706315
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#825D57
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #78651f;
/* rgb */ color: rgb(120, 101, 31);
/* oklch */ color: oklch(51.2% 0.090 93.5);
Tailwind
colors: {
  custom: {
    50: '#a2905f',
    500: '#78651f',
    950: '#000000',
  },
}
SCSS
$custom: #78651f;
$custom-light: #a2905f;
$custom-dark: #000000;
JSON
{
  "hex": "#78651f",
  "rgb": {
    "r": 120,
    "g": 101,
    "b": 31
  },
  "hsl": {
    "h": 47.191,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51157,
    "c": 0.0904,
    "h": 93.5
  },
  "luminance": 0.13399
}

Semantic roles & 50–950 ramp

primary
#78651F
secondary
#475DAB
accent
#67E246
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C05
muted
#7F7D79

Preview Lab

Preview with #78651F

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

Preview Lab → · Contrast checker → · Palette generator →

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