#AFB53A#AFB53A

#AFB53A is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.6% C 0.143 H 112.1°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#AFB53A
RGBrgb(175, 181, 58)
HSLhsl(63, 51%, 47%)
HSVhsv(63, 68%, 71%)
CMYKcmyk(3.3%, 0%, 68%, 29%)
CIE-LABlab(71.19, -17.56, 59.03)
CIE-LCHlch(71.19, 61.59, 106.56°)
OKLaboklab(74.56% -0.0538 0.1323)
OKLCHoklch(74.56% 0.143 112.1)
XYZxyz(34.9678, 42.4680, 10.3573)
Luminance0.4247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB53A #403AB5
analogous
#B57E3A #AFB53A #72B53A
triadic
#AFB53A #3AAFB5 #B53AAF
tetradic
#AFB53A #3AB57E #403AB5 #B53A72
square
#AFB53A #3AB57E #403AB5 #B53A72
split-complementary
#AFB53A #3A72B5 #7E3AB5
monochromatic
#55581C #82872B #AFB53A #C7CC60 #D7DB8E

Accessibility & contrast

On white

2.21
#AFB53A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#AFB53A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB53A
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB53A#FFFFFF#000000##000000
##AFB53A1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD27
Deuteranopia (green-blind)
#C3B043
Tritanopia (blue-blind)
#BBAA9C
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afb53a;
/* rgb */ color: rgb(175, 181, 58);
/* oklch */ color: oklch(74.6% 0.143 112.1);
Tailwind
colors: {
  custom: {
    50: '#cacb77',
    500: '#afb53a',
    950: '#000000',
  },
}
SCSS
$custom: #afb53a;
$custom-light: #cacb77;
$custom-dark: #000000;
JSON
{
  "hex": "#afb53a",
  "rgb": {
    "r": 175,
    "g": 181,
    "b": 58
  },
  "hsl": {
    "h": 62.927,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.74562,
    "c": 0.1428,
    "h": 112.1
  },
  "luminance": 0.42467
}

Semantic roles & 50–950 ramp

primary
#AFB53A
secondary
#8885C6
accent
#4DDB54
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB53A

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

Preview Lab → · Contrast checker → · Palette generator →

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