#7A7914#7A7914

#7A7914 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 55.9% C 0.115 H 109.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7A7914
RGBrgb(122, 121, 20)
HSLhsl(59, 72%, 28%)
HSVhsv(59, 84%, 48%)
CMYKcmyk(0%, 0.8%, 83.6%, 52.2%)
CIE-LABlab(49.33, -11.45, 50.16)
CIE-LCHlch(49.33, 51.45, 102.86°)
OKLaboklab(55.93% -0.0373 0.1084)
OKLCHoklch(55.93% 0.115 109)
XYZxyz(14.9903, 17.8633, 3.3200)
Luminance0.1786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7914 #14157A
analogous
#7A4614 #7A7914 #487A14
triadic
#7A7914 #147A79 #79147A
tetradic
#7A7914 #147A46 #14157A #7A1448
square
#7A7914 #147A46 #14157A #7A1448
split-complementary
#7A7914 #14487A #46147A
monochromatic
#1A1A04 #45450B #7A7914 #AFAD1D #DCDB2C

Accessibility & contrast

On white

4.59
#7A7914 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#7A7914 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7914
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7914#FFFFFF#000000##FFFFFF
##7A79141.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#85771E
Tritanopia (blue-blind)
#837167
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7a7914;
/* rgb */ color: rgb(122, 121, 20);
/* oklch */ color: oklch(55.9% 0.115 109.0);
Tailwind
colors: {
  custom: {
    50: '#a49f5d',
    500: '#7a7914',
    950: '#000000',
  },
}
SCSS
$custom: #7a7914;
$custom-light: #a49f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7914",
  "rgb": {
    "r": 122,
    "g": 121,
    "b": 20
  },
  "hsl": {
    "h": 59.412,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.55927,
    "c": 0.11467,
    "h": 109
  },
  "luminance": 0.17863
}

Semantic roles & 50–950 ramp

primary
#7A7914
secondary
#3A3BB0
accent
#3BEF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7914

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

Preview Lab → · Contrast checker → · Palette generator →

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