#7C8A13#7C8A13

#7C8A13 is a mid, vivid yellow. Relative luminance 0.225; OKLCH L 60.2% C 0.133 H 116.8°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7C8A13
RGBrgb(124, 138, 19)
HSLhsl(67, 76%, 31%)
HSVhsv(67, 86%, 54%)
CMYKcmyk(10.1%, 0%, 86.2%, 45.9%)
CIE-LABlab(54.56, -19.60, 54.97)
CIE-LCHlch(54.56, 58.36, 109.63°)
OKLaboklab(60.16% -0.06 0.1186)
OKLCHoklch(60.16% 0.133 116.8)
XYZxyz(17.5187, 22.5093, 4.0378)
Luminance0.2251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A13 #21138A
analogous
#8A5C13 #7C8A13 #408A13
triadic
#7C8A13 #137C8A #8A137C
tetradic
#7C8A13 #138A5C #21138A #8A1340
square
#7C8A13 #138A5C #21138A #8A1340
split-complementary
#7C8A13 #13408A #5C138A
monochromatic
#1B1E04 #4C540C #7C8A13 #ACC01A #CFE334

Accessibility & contrast

On white

3.82
#7C8A13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#7C8A13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A13
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A13#FFFFFF#000000##000000
##7C8A131.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#938321
Tritanopia (blue-blind)
#848275
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7c8a13;
/* rgb */ color: rgb(124, 138, 19);
/* oklch */ color: oklch(60.2% 0.133 116.8);
Tailwind
colors: {
  custom: {
    50: '#a6ac5f',
    500: '#7c8a13',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a13;
$custom-light: #a6ac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a13",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 19
  },
  "hsl": {
    "h": 67.059,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.60162,
    "c": 0.13286,
    "h": 116.8
  },
  "luminance": 0.22509
}

Semantic roles & 50–950 ramp

primary
#7C8A13
secondary
#4A3ABE
accent
#35F24C
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#101005
muted
#7F7F79

Preview Lab

Preview with #7C8A13

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

Preview Lab → · Contrast checker → · Palette generator →

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