#7B7A17#7B7A17

#7B7A17 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.3% C 0.114 H 109.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7B7A17
RGBrgb(123, 122, 23)
HSLhsl(59, 68%, 29%)
HSVhsv(59, 81%, 48%)
CMYKcmyk(0%, 0.8%, 81.3%, 51.8%)
CIE-LABlab(49.73, -11.42, 49.63)
CIE-LCHlch(49.73, 50.93, 102.96°)
OKLaboklab(56.27% -0.037 0.1079)
OKLCHoklch(56.27% 0.114 109)
XYZxyz(15.2832, 18.1924, 3.5169)
Luminance0.1819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7A17 #17187B
analogous
#7B4817 #7B7A17 #4A7B17
triadic
#7B7A17 #177B7A #7A177B
tetradic
#7B7A17 #177B48 #17187B #7B174A
square
#7B7A17 #177B48 #17187B #7B174A
split-complementary
#7B7A17 #174A7B #48177B
monochromatic
#1A1A05 #47470D #7B7A17 #AFAD21 #D9D733

Accessibility & contrast

On white

4.53
#7B7A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7B7A17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7A17
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7A17#FFFFFF#000000##000000
##7B7A171.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#867820
Tritanopia (blue-blind)
#847268
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b7a17;
/* rgb */ color: rgb(123, 122, 23);
/* oklch */ color: oklch(56.3% 0.114 109.0);
Tailwind
colors: {
  custom: {
    50: '#a5a05e',
    500: '#7b7a17',
    950: '#000000',
  },
}
SCSS
$custom: #7b7a17;
$custom-light: #a5a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7a17",
  "rgb": {
    "r": 123,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 59.4,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.56271,
    "c": 0.11403,
    "h": 109
  },
  "luminance": 0.18192
}

Semantic roles & 50–950 ramp

primary
#7B7A17
secondary
#3E3FB0
accent
#3EEB3C
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B7A17

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

Preview Lab → · Contrast checker → · Palette generator →

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