#AFB13E#AFB13E

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

Color values

HEX#AFB13E
RGBrgb(175, 177, 62)
HSLhsl(61, 48%, 47%)
HSVhsv(61, 65%, 69%)
CMYKcmyk(1.1%, 0%, 65%, 30.6%)
CIE-LABlab(70.11, -15.29, 56.33)
CIE-LCHlch(70.11, 58.36, 105.18°)
OKLaboklab(73.71% -0.047 0.1272)
OKLCHoklch(73.71% 0.136 110.3)
XYZxyz(34.2719, 40.9069, 10.6470)
Luminance0.4091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB13E #403EB1
analogous
#B1793E #AFB13E #76B13E
triadic
#AFB13E #3EAFB1 #B13EAF
tetradic
#AFB13E #3EB179 #403EB1 #B13E76
square
#AFB13E #3EB179 #403EB1 #B13E76
split-complementary
#AFB13E #3E76B1 #793EB1
monochromatic
#55561E #82842E #AFB13E #C7C964 #D7D891

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB13E#FFFFFF#000000##000000
##AFB13E1.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)
#BFAA2E
Deuteranopia (green-blind)
#C0AD46
Tritanopia (blue-blind)
#BBA699
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afb13e;
/* rgb */ color: rgb(175, 177, 62);
/* oklch */ color: oklch(73.7% 0.136 110.3);
Tailwind
colors: {
  custom: {
    50: '#cac879',
    500: '#afb13e',
    950: '#000000',
  },
}
SCSS
$custom: #afb13e;
$custom-light: #cac879;
$custom-dark: #000000;
JSON
{
  "hex": "#afb13e",
  "rgb": {
    "r": 175,
    "g": 177,
    "b": 62
  },
  "hsl": {
    "h": 61.043,
    "s": 48.117,
    "l": 46.863
  },
  "oklch": {
    "l": 0.73707,
    "c": 0.13563,
    "h": 110.3
  },
  "luminance": 0.40906
}

Semantic roles & 50–950 ramp

primary
#AFB13E
secondary
#8887C4
accent
#50D852
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB13E

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

Preview Lab → · Contrast checker → · Palette generator →

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