#707D12#707D12

#707D12 is a mid, vivid yellow. Relative luminance 0.182; OKLCH L 56.0% C 0.123 H 117.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#707D12
RGBrgb(112, 125, 18)
HSLhsl(67, 75%, 28%)
HSVhsv(67, 86%, 49%)
CMYKcmyk(10.4%, 0%, 85.6%, 51%)
CIE-LABlab(49.68, -18.28, 50.69)
CIE-LCHlch(49.68, 53.88, 109.83°)
OKLaboklab(56% -0.0558 0.1097)
OKLCHoklch(56% 0.123 117)
XYZxyz(14.1253, 18.1558, 3.3325)
Luminance0.1816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#707D12 #1F127D
analogous
#7D5412 #707D12 #3A7D12
triadic
#707D12 #12707D #7D1270
tetradic
#707D12 #127D54 #1F127D #7D123A
square
#707D12 #127D54 #1F127D #7D123A
split-complementary
#707D12 #123A7D #54127D
monochromatic
#181B04 #40480A #707D12 #A0B21A #CAE029

Accessibility & contrast

On white

4.53
#707D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#707D12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #707D12
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##707D12#FFFFFF#000000##000000
##707D121.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#85771E
Tritanopia (blue-blind)
#78756A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #707d12;
/* rgb */ color: rgb(112, 125, 18);
/* oklch */ color: oklch(56.0% 0.123 117.0);
Tailwind
colors: {
  custom: {
    50: '#9ca25c',
    500: '#707d12',
    950: '#000000',
  },
}
SCSS
$custom: #707d12;
$custom-light: #9ca25c;
$custom-dark: #000000;
JSON
{
  "hex": "#707d12",
  "rgb": {
    "r": 112,
    "g": 125,
    "b": 18
  },
  "hsl": {
    "h": 67.29,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.56001,
    "c": 0.12303,
    "h": 117
  },
  "luminance": 0.18156
}

Semantic roles & 50–950 ramp

primary
#707D12
secondary
#4738B3
accent
#36F14D
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0F05
muted
#7E7E79

Preview Lab

Preview with #707D12

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

Preview Lab → · Contrast checker → · Palette generator →

#707D12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva