#7B8013#7B8013

#7B8013 is a mid, vivid yellow. Relative luminance 0.197; OKLCH L 57.7% C 0.122 H 112.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7B8013
RGBrgb(123, 128, 19)
HSLhsl(63, 74%, 29%)
HSVhsv(63, 85%, 50%)
CMYKcmyk(3.9%, 0%, 85.2%, 49.8%)
CIE-LABlab(51.49, -14.81, 52.33)
CIE-LCHlch(51.49, 54.38, 105.80°)
OKLaboklab(57.68% -0.0467 0.1129)
OKLCHoklch(57.68% 0.122 112.5)
XYZxyz(16.0057, 19.6967, 3.5747)
Luminance0.1970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8013 #181380
analogous
#804F13 #7B8013 #458013
triadic
#7B8013 #137B80 #80137B
tetradic
#7B8013 #13804F #181380 #801345
square
#7B8013 #13804F #181380 #801345
split-complementary
#7B8013 #134580 #4F1380
monochromatic
#1A1B04 #484B0B #7B8013 #AEB51B #D8E02D

Accessibility & contrast

On white

4.25
#7B8013 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#7B8013 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8013
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8013#FFFFFF#000000##000000
##7B80131.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#8B7C1E
Tritanopia (blue-blind)
#84786D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7b8013;
/* rgb */ color: rgb(123, 128, 19);
/* oklch */ color: oklch(57.7% 0.122 112.5);
Tailwind
colors: {
  custom: {
    50: '#a5a45d',
    500: '#7b8013',
    950: '#000000',
  },
}
SCSS
$custom: #7b8013;
$custom-light: #a5a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8013",
  "rgb": {
    "r": 123,
    "g": 128,
    "b": 19
  },
  "hsl": {
    "h": 62.752,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.57677,
    "c": 0.12217,
    "h": 112.5
  },
  "luminance": 0.19696
}

Semantic roles & 50–950 ramp

primary
#7B8013
secondary
#3F39B5
accent
#37F140
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7B8013

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

Preview Lab → · Contrast checker → · Palette generator →

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