#AFB13F#AFB13F

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

Color values

HEX#AFB13F
RGBrgb(175, 177, 63)
HSLhsl(61, 48%, 47%)
HSVhsv(61, 64%, 69%)
CMYKcmyk(1.1%, 0%, 64.4%, 30.6%)
CIE-LABlab(70.12, -15.22, 55.92)
CIE-LCHlch(70.12, 57.96, 105.23°)
OKLaboklab(73.72% -0.0467 0.1265)
OKLCHoklch(73.72% 0.135 110.3)
XYZxyz(34.2996, 40.9180, 10.7928)
Luminance0.4092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB13F #413FB1
analogous
#B17A3F #AFB13F #76B13F
triadic
#AFB13F #3FAFB1 #B13FAF
tetradic
#AFB13F #3FB17A #413FB1 #B13F76
square
#AFB13F #3FB17A #413FB1 #B13F76
split-complementary
#AFB13F #3F76B1 #7A3FB1
monochromatic
#56571F #82842F #AFB13F #C6C865 #D7D892

Accessibility & contrast

On white

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

On black

9.18
#AFB13F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB13F
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB13F#FFFFFF#000000##000000
##AFB13F1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA30
Deuteranopia (green-blind)
#C0AD46
Tritanopia (blue-blind)
#BBA69A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afb13f;
/* rgb */ color: rgb(175, 177, 63);
/* oklch */ color: oklch(73.7% 0.135 110.3);
Tailwind
colors: {
  custom: {
    50: '#cac87a',
    500: '#afb13f',
    950: '#000000',
  },
}
SCSS
$custom: #afb13f;
$custom-light: #cac87a;
$custom-dark: #000000;
JSON
{
  "hex": "#afb13f",
  "rgb": {
    "r": 175,
    "g": 177,
    "b": 63
  },
  "hsl": {
    "h": 61.053,
    "s": 47.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.73715,
    "c": 0.13486,
    "h": 110.3
  },
  "luminance": 0.40917
}

Semantic roles & 50–950 ramp

primary
#AFB13F
secondary
#8988C4
accent
#51D753
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFB13F

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

Preview Lab → · Contrast checker → · Palette generator →

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