#7B8F13#7B8F13

#7B8F13 is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.3% C 0.139 H 119.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7B8F13
RGBrgb(123, 143, 19)
HSLhsl(70, 77%, 32%)
HSVhsv(70, 87%, 56%)
CMYKcmyk(14%, 0%, 86.7%, 43.9%)
CIE-LABlab(55.99, -22.59, 56.14)
CIE-LCHlch(55.99, 60.52, 111.92°)
OKLaboklab(61.29% -0.0681 0.1211)
OKLCHoklch(61.29% 0.139 119.3)
XYZxyz(18.1088, 23.9030, 4.2757)
Luminance0.2390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8F13 #27138F
analogous
#8F6513 #7B8F13 #3D8F13
triadic
#7B8F13 #137B8F #8F137B
tetradic
#7B8F13 #138F65 #27138F #8F133D
square
#7B8F13 #138F65 #27138F #8F133D
split-complementary
#7B8F13 #133D8F #65138F
monochromatic
#1E2305 #4D590C #7B8F13 #A9C51A #C9E538

Accessibility & contrast

On white

3.63
#7B8F13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#7B8F13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8F13
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8F13#FFFFFF#000000##000000
##7B8F131.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#978722
Tritanopia (blue-blind)
#838779
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7b8f13;
/* rgb */ color: rgb(123, 143, 19);
/* oklch */ color: oklch(61.3% 0.139 119.3);
Tailwind
colors: {
  custom: {
    50: '#a5af60',
    500: '#7b8f13',
    950: '#000000',
  },
}
SCSS
$custom: #7b8f13;
$custom-light: #a5af60;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8f13",
  "rgb": {
    "r": 123,
    "g": 143,
    "b": 19
  },
  "hsl": {
    "h": 69.677,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.61292,
    "c": 0.13897,
    "h": 119.3
  },
  "luminance": 0.23903
}

Semantic roles & 50–950 ramp

primary
#7B8F13
secondary
#513BC3
accent
#35F353
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7B8F13

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

Preview Lab → · Contrast checker → · Palette generator →

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