#A7B243#A7B243

#A7B243 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.3% C 0.135 H 114.6°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#A7B243
RGBrgb(167, 178, 67)
HSLhsl(66, 45%, 48%)
HSVhsv(66, 62%, 70%)
CMYKcmyk(6.2%, 0%, 62.4%, 30.2%)
CIE-LABlab(69.80, -18.85, 53.70)
CIE-LCHlch(69.80, 56.91, 109.35°)
OKLaboklab(73.31% -0.056 0.1226)
OKLCHoklch(73.31% 0.135 114.6)
XYZxyz(32.8706, 40.4621, 11.3875)
Luminance0.4046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B243 #4E43B2
analogous
#B28543 #A7B243 #6FB243
triadic
#A7B243 #43A7B2 #B243A7
tetradic
#A7B243 #43B285 #4E43B2 #B2436F
square
#A7B243 #43B285 #4E43B2 #B2436F
split-complementary
#A7B243 #436FB2 #8543B2
monochromatic
#545922 #7D8632 #A7B243 #BEC76B #D2D897

Accessibility & contrast

On white

2.31
#A7B243 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#A7B243 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B243
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B243#FFFFFF#000000##000000
##A7B2431.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA35
Deuteranopia (green-blind)
#BEAC4A
Tritanopia (blue-blind)
#B1A89B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a7b243;
/* rgb */ color: rgb(167, 178, 67);
/* oklch */ color: oklch(73.3% 0.135 114.6);
Tailwind
colors: {
  custom: {
    50: '#c4c87c',
    500: '#a7b243',
    950: '#000000',
  },
}
SCSS
$custom: #a7b243;
$custom-light: #c4c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b243",
  "rgb": {
    "r": 167,
    "g": 178,
    "b": 67
  },
  "hsl": {
    "h": 65.946,
    "s": 45.306,
    "l": 48.039
  },
  "oklch": {
    "l": 0.73313,
    "c": 0.1348,
    "h": 114.6
  },
  "luminance": 0.40462
}

Semantic roles & 50–950 ramp

primary
#A7B243
secondary
#928DC4
accent
#53D560
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A7B243

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

Preview Lab → · Contrast checker → · Palette generator →

#A7B243 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva