#7A7F10#7A7F10

#7A7F10 is a mid, vivid yellow. Relative luminance 0.194; OKLCH L 57.3% C 0.123 H 112.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7A7F10
RGBrgb(122, 127, 16)
HSLhsl(63, 78%, 28%)
HSVhsv(63, 87%, 50%)
CMYKcmyk(3.9%, 0%, 87.4%, 50.2%)
CIE-LABlab(51.10, -14.82, 52.72)
CIE-LCHlch(51.10, 54.76, 105.70°)
OKLaboklab(57.34% -0.0469 0.1133)
OKLCHoklch(57.34% 0.123 112.5)
XYZxyz(15.7095, 19.3541, 3.3983)
Luminance0.1935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7F10 #15107F
analogous
#7F4C10 #7A7F10 #427F10
triadic
#7A7F10 #107A7F #7F107A
tetradic
#7A7F10 #107F4C #15107F #7F1042
square
#7A7F10 #107F4C #15107F #7F1042
split-complementary
#7A7F10 #10427F #4C107F
monochromatic
#1A1B03 #464909 #7A7F10 #AEB517 #DBE426

Accessibility & contrast

On white

4.31
#7A7F10 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#7A7F10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7F10
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7F10#FFFFFF#000000##000000
##7A7F101.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#8A7B1C
Tritanopia (blue-blind)
#83776C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7a7f10;
/* rgb */ color: rgb(122, 127, 16);
/* oklch */ color: oklch(57.3% 0.123 112.5);
Tailwind
colors: {
  custom: {
    50: '#a4a35c',
    500: '#7a7f10',
    950: '#000000',
  },
}
SCSS
$custom: #7a7f10;
$custom-light: #a4a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7f10",
  "rgb": {
    "r": 122,
    "g": 127,
    "b": 16
  },
  "hsl": {
    "h": 62.703,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.57337,
    "c": 0.12259,
    "h": 112.5
  },
  "luminance": 0.19354
}

Semantic roles & 50–950 ramp

primary
#7A7F10
secondary
#3B36B5
accent
#34F43C
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7A7F10

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

Preview Lab → · Contrast checker → · Palette generator →

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