#6A7B13#6A7B13

#6A7B13 is a mid, vivid yellow. Relative luminance 0.173; OKLCH L 55.0% C 0.123 H 119.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#6A7B13
RGBrgb(106, 123, 19)
HSLhsl(70, 73%, 28%)
HSVhsv(70, 85%, 48%)
CMYKcmyk(13.8%, 0%, 84.6%, 51.8%)
CIE-LABlab(48.61, -19.91, 49.30)
CIE-LCHlch(48.61, 53.17, 111.99°)
OKLaboklab(55.02% -0.0599 0.1071)
OKLCHoklch(55.02% 0.123 119.2)
XYZxyz(13.1447, 17.2772, 3.2583)
Luminance0.1728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7B13 #24137B
analogous
#7B5813 #6A7B13 #367B13
triadic
#6A7B13 #136A7B #7B136A
tetradic
#6A7B13 #137B58 #24137B #7B1336
square
#6A7B13 #137B58 #24137B #7B1336
split-complementary
#6A7B13 #13367B #58137B
monochromatic
#171B04 #3C460B #6A7B13 #98B01B #C1DE2A

Accessibility & contrast

On white

4.71
#6A7B13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#6A7B13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7B13
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7B13#FFFFFF#000000##FFFFFF
##6A7B131.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847300
Deuteranopia (green-blind)
#82741E
Tritanopia (blue-blind)
#717468
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6a7b13;
/* rgb */ color: rgb(106, 123, 19);
/* oklch */ color: oklch(55.0% 0.123 119.2);
Tailwind
colors: {
  custom: {
    50: '#98a15c',
    500: '#6a7b13',
    950: '#000000',
  },
}
SCSS
$custom: #6a7b13;
$custom-light: #98a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7b13",
  "rgb": {
    "r": 106,
    "g": 123,
    "b": 19
  },
  "hsl": {
    "h": 69.808,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.55018,
    "c": 0.12269,
    "h": 119.2
  },
  "luminance": 0.17277
}

Semantic roles & 50–950 ramp

primary
#6A7B13
secondary
#4D39B1
accent
#38F056
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6A7B13

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

Preview Lab → · Contrast checker → · Palette generator →

#6A7B13 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva