#A7B253#A7B253

#A7B253 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.5% C 0.121 H 114.9°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#A7B253
RGBrgb(167, 178, 83)
HSLhsl(67, 38%, 51%)
HSVhsv(67, 53%, 70%)
CMYKcmyk(6.2%, 0%, 53.4%, 30.2%)
CIE-LABlab(69.95, -17.58, 46.59)
CIE-LCHlch(69.95, 49.80, 110.67°)
OKLaboklab(73.49% -0.0508 0.1094)
OKLCHoklch(73.49% 0.121 114.9)
XYZxyz(33.4187, 40.6813, 14.2737)
Luminance0.4068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B253 #5E53B2
analogous
#B28D53 #A7B253 #77B253
triadic
#A7B253 #53A7B2 #B253A7
tetradic
#A7B253 #53B28D #5E53B2 #B25377
square
#A7B253 #53B28D #5E53B2 #B25377
split-complementary
#A7B253 #5377B2 #8D53B2
monochromatic
#5A602B #818A3E #A7B253 #BDC57D #D2D8A8

Accessibility & contrast

On white

2.30
#A7B253 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#A7B253 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B253
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B253#FFFFFF#000000##000000
##A7B2531.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA4A
Deuteranopia (green-blind)
#BCAC58
Tritanopia (blue-blind)
#B0A99D
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a7b253;
/* rgb */ color: rgb(167, 178, 83);
/* oklch */ color: oklch(73.5% 0.121 114.9);
Tailwind
colors: {
  custom: {
    50: '#c3c986',
    500: '#a7b253',
    950: '#000000',
  },
}
SCSS
$custom: #a7b253;
$custom-light: #c3c986;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b253",
  "rgb": {
    "r": 167,
    "g": 178,
    "b": 83
  },
  "hsl": {
    "h": 66.947,
    "s": 38.153,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73487,
    "c": 0.12057,
    "h": 114.9
  },
  "luminance": 0.40681
}

Semantic roles & 50–950 ramp

primary
#A7B253
secondary
#A09BC5
accent
#5ACE67
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130B
muted
#82827C

Preview Lab

Preview with #A7B253

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

Preview Lab → · Contrast checker → · Palette generator →

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