#AFB13C#AFB13C

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

Color values

HEX#AFB13C
RGBrgb(175, 177, 60)
HSLhsl(61, 49%, 46%)
HSVhsv(61, 66%, 69%)
CMYKcmyk(1.1%, 0%, 66.1%, 30.6%)
CIE-LABlab(70.10, -15.41, 57.13)
CIE-LCHlch(70.10, 59.17, 105.10°)
OKLaboklab(73.69% -0.0475 0.1286)
OKLCHoklch(73.69% 0.137 110.3)
XYZxyz(34.2180, 40.8854, 10.3633)
Luminance0.4088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB13C #3E3CB1
analogous
#B1793C #AFB13C #75B13C
triadic
#AFB13C #3CAFB1 #B13CAF
tetradic
#AFB13C #3CB179 #3E3CB1 #B13C75
square
#AFB13C #3CB179 #3E3CB1 #B13C75
split-complementary
#AFB13C #3C75B1 #793CB1
monochromatic
#55561D #82832D #AFB13C #C8C961 #D8D98F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB13C#FFFFFF#000000##000000
##AFB13C1.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)
#BFA92C
Deuteranopia (green-blind)
#C0AD44
Tritanopia (blue-blind)
#BBA699
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afb13c;
/* rgb */ color: rgb(175, 177, 60);
/* oklch */ color: oklch(73.7% 0.137 110.3);
Tailwind
colors: {
  custom: {
    50: '#cac878',
    500: '#afb13c',
    950: '#000000',
  },
}
SCSS
$custom: #afb13c;
$custom-light: #cac878;
$custom-dark: #000000;
JSON
{
  "hex": "#afb13c",
  "rgb": {
    "r": 175,
    "g": 177,
    "b": 60
  },
  "hsl": {
    "h": 61.026,
    "s": 49.367,
    "l": 46.471
  },
  "oklch": {
    "l": 0.7369,
    "c": 0.1371,
    "h": 110.3
  },
  "luminance": 0.40884
}

Semantic roles & 50–950 ramp

primary
#AFB13C
secondary
#8685C4
accent
#4FD951
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB13C

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

Preview Lab → · Contrast checker → · Palette generator →

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