#7A7B15#7A7B15

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

Color values

HEX#7A7B15
RGBrgb(122, 123, 21)
HSLhsl(61, 71%, 28%)
HSVhsv(61, 83%, 48%)
CMYKcmyk(0.8%, 0%, 82.9%, 51.8%)
CIE-LABlab(49.93, -12.51, 50.38)
CIE-LCHlch(49.93, 51.91, 103.94°)
OKLaboklab(56.41% -0.0402 0.1091)
OKLCHoklch(56.41% 0.116 110.2)
XYZxyz(15.2449, 18.3581, 3.4497)
Luminance0.1836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7B15 #16157B
analogous
#7B4915 #7A7B15 #477B15
triadic
#7A7B15 #157A7B #7B157A
tetradic
#7A7B15 #157B49 #16157B #7B1547
square
#7A7B15 #157B49 #16157B #7B1547
split-complementary
#7A7B15 #15477B #49157B
monochromatic
#1A1A04 #46470C #7A7B15 #AEAF1E #DADB2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A7B15#FFFFFF#000000##000000
##7A7B151.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)
#86781F
Tritanopia (blue-blind)
#837369
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7a7b15;
/* rgb */ color: rgb(122, 123, 21);
/* oklch */ color: oklch(56.4% 0.116 110.2);
Tailwind
colors: {
  custom: {
    50: '#a4a05d',
    500: '#7a7b15',
    950: '#000000',
  },
}
SCSS
$custom: #7a7b15;
$custom-light: #a4a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7b15",
  "rgb": {
    "r": 122,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 60.588,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.56406,
    "c": 0.11627,
    "h": 110.2
  },
  "luminance": 0.18358
}

Semantic roles & 50–950 ramp

primary
#7A7B15
secondary
#3D3BB0
accent
#3AEE3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7B15

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

Preview Lab → · Contrast checker → · Palette generator →

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