#7B8319#7B8319

#7B8319 is a mid, vivid yellow. Relative luminance 0.205; OKLCH L 58.4% C 0.123 H 114.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7B8319
RGBrgb(123, 131, 25)
HSLhsl(65, 68%, 31%)
HSVhsv(65, 81%, 51%)
CMYKcmyk(6.1%, 0%, 80.9%, 48.6%)
CIE-LABlab(52.41, -16.18, 51.40)
CIE-LCHlch(52.41, 53.89, 107.48°)
OKLaboklab(58.42% -0.0501 0.112)
OKLCHoklch(58.42% 0.123 114.1)
XYZxyz(16.4607, 20.5141, 4.0120)
Luminance0.2051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8319 #211983
analogous
#835619 #7B8319 #468319
triadic
#7B8319 #197B83 #83197B
tetradic
#7B8319 #198356 #211983 #831946
square
#7B8319 #198356 #211983 #831946
split-complementary
#7B8319 #194683 #561983
monochromatic
#1A1C05 #4B500F #7B8319 #ABB623 #CEDA3D

Accessibility & contrast

On white

4.12
#7B8319 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#7B8319 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8319
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8319#FFFFFF#000000##000000
##7B83191.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8D7E23
Tritanopia (blue-blind)
#847B70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7b8319;
/* rgb */ color: rgb(123, 131, 25);
/* oklch */ color: oklch(58.4% 0.123 114.1);
Tailwind
colors: {
  custom: {
    50: '#a4a660',
    500: '#7b8319',
    950: '#000000',
  },
}
SCSS
$custom: #7b8319;
$custom-light: #a4a660;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8319",
  "rgb": {
    "r": 123,
    "g": 131,
    "b": 25
  },
  "hsl": {
    "h": 64.528,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.58423,
    "c": 0.1227,
    "h": 114.1
  },
  "luminance": 0.20514
}

Semantic roles & 50–950 ramp

primary
#7B8319
secondary
#4A41B7
accent
#3DEB4A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7B8319

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

Preview Lab → · Contrast checker → · Palette generator →

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