#7A7B14#7A7B14

#7A7B14 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.4% C 0.117 H 110.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7A7B14
RGBrgb(122, 123, 20)
HSLhsl(61, 72%, 28%)
HSVhsv(61, 84%, 48%)
CMYKcmyk(0.8%, 0%, 83.7%, 51.8%)
CIE-LABlab(49.92, -12.54, 50.67)
CIE-LCHlch(49.92, 52.20, 103.90°)
OKLaboklab(56.4% -0.0403 0.1095)
OKLCHoklch(56.4% 0.117 110.2)
XYZxyz(15.2358, 18.3545, 3.4019)
Luminance0.1835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7B14 #15147B
analogous
#7B4914 #7A7B14 #467B14
triadic
#7A7B14 #147A7B #7B147A
tetradic
#7A7B14 #147B49 #15147B #7B1446
square
#7A7B14 #147B49 #15147B #7B1446
split-complementary
#7A7B14 #14467B #49147B
monochromatic
#1A1A04 #46460B #7A7B14 #AEB01D #DBDD2D

Accessibility & contrast

On white

4.50
#7A7B14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#7A7B14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7B14
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7B14#FFFFFF#000000##000000
##7A7B141.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#87781E
Tritanopia (blue-blind)
#837369
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7a7b14;
/* rgb */ color: rgb(122, 123, 20);
/* oklch */ color: oklch(56.4% 0.117 110.2);
Tailwind
colors: {
  custom: {
    50: '#a4a05d',
    500: '#7a7b14',
    950: '#000000',
  },
}
SCSS
$custom: #7a7b14;
$custom-light: #a4a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7b14",
  "rgb": {
    "r": 122,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 60.583,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.56401,
    "c": 0.11673,
    "h": 110.2
  },
  "luminance": 0.18354
}

Semantic roles & 50–950 ramp

primary
#7A7B14
secondary
#3B3AB1
accent
#39EF3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7B14

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

Preview Lab → · Contrast checker → · Palette generator →

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