#7A7814#7A7814

#7A7814 is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.7% C 0.114 H 108.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7A7814
RGBrgb(122, 120, 20)
HSLhsl(59, 72%, 28%)
HSVhsv(59, 84%, 48%)
CMYKcmyk(0%, 1.6%, 83.6%, 52.2%)
CIE-LABlab(49.03, -10.90, 49.90)
CIE-LCHlch(49.03, 51.08, 102.33°)
OKLaboklab(55.69% -0.0358 0.1079)
OKLCHoklch(55.69% 0.114 108.4)
XYZxyz(14.8694, 17.6215, 3.2797)
Luminance0.1762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7814 #14167A
analogous
#7A4514 #7A7814 #497A14
triadic
#7A7814 #147A78 #78147A
tetradic
#7A7814 #147A45 #14167A #7A1449
square
#7A7814 #147A45 #14167A #7A1449
split-complementary
#7A7814 #14497A #45147A
monochromatic
#1A1A04 #45440B #7A7814 #AFAC1D #DCD92C

Accessibility & contrast

On white

4.64
#7A7814 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#7A7814 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7814
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7814#FFFFFF#000000##FFFFFF
##7A78141.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#84761D
Tritanopia (blue-blind)
#837066
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7a7814;
/* rgb */ color: rgb(122, 120, 20);
/* oklch */ color: oklch(55.7% 0.114 108.4);
Tailwind
colors: {
  custom: {
    50: '#a49e5d',
    500: '#7a7814',
    950: '#000000',
  },
}
SCSS
$custom: #7a7814;
$custom-light: #a49e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7814",
  "rgb": {
    "r": 122,
    "g": 120,
    "b": 20
  },
  "hsl": {
    "h": 58.824,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5569,
    "c": 0.11366,
    "h": 108.4
  },
  "luminance": 0.17621
}

Semantic roles & 50–950 ramp

primary
#7A7814
secondary
#3A3CB0
accent
#3DEF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7814

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

Preview Lab → · Contrast checker → · Palette generator →

#7A7814 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva