#AFB13A#AFB13A

#AFB13A is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.7% C 0.139 H 110.3°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#AFB13A
RGBrgb(175, 177, 58)
HSLhsl(61, 51%, 46%)
HSVhsv(61, 67%, 69%)
CMYKcmyk(1.1%, 0%, 67.2%, 30.6%)
CIE-LABlab(70.08, -15.53, 57.91)
CIE-LCHlch(70.08, 59.95, 105.01°)
OKLaboklab(73.67% -0.0481 0.1299)
OKLCHoklch(73.67% 0.139 110.3)
XYZxyz(34.1662, 40.8646, 10.0901)
Luminance0.4086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB13A #3C3AB1
analogous
#B1773A #AFB13A #73B13A
triadic
#AFB13A #3AAFB1 #B13AAF
tetradic
#AFB13A #3AB177 #3C3AB1 #B13A73
square
#AFB13A #3AB177 #3C3AB1 #B13A73
split-complementary
#AFB13A #3A73B1 #773AB1
monochromatic
#54551C #81832B #AFB13A #C8CA5E #D8D98C

Accessibility & contrast

On white

2.29
#AFB13A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#AFB13A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB13A
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB13A#FFFFFF#000000##000000
##AFB13A1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA928
Deuteranopia (green-blind)
#C0AD42
Tritanopia (blue-blind)
#BBA699
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afb13a;
/* rgb */ color: rgb(175, 177, 58);
/* oklch */ color: oklch(73.7% 0.139 110.3);
Tailwind
colors: {
  custom: {
    50: '#cac877',
    500: '#afb13a',
    950: '#000000',
  },
}
SCSS
$custom: #afb13a;
$custom-light: #cac877;
$custom-dark: #000000;
JSON
{
  "hex": "#afb13a",
  "rgb": {
    "r": 175,
    "g": 177,
    "b": 58
  },
  "hsl": {
    "h": 61.008,
    "s": 50.638,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73673,
    "c": 0.13853,
    "h": 110.3
  },
  "luminance": 0.40864
}

Semantic roles & 50–950 ramp

primary
#AFB13A
secondary
#8483C4
accent
#4EDA50
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB13A

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

Preview Lab → · Contrast checker → · Palette generator →

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