#AFB13D#AFB13D

#AFB13D 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#AFB13D
RGBrgb(175, 177, 61)
HSLhsl(61, 49%, 47%)
HSVhsv(61, 66%, 69%)
CMYKcmyk(1.1%, 0%, 65.5%, 30.6%)
CIE-LABlab(70.10, -15.35, 56.73)
CIE-LCHlch(70.10, 58.77, 105.14°)
OKLaboklab(73.7% -0.0473 0.1279)
OKLCHoklch(73.7% 0.136 110.3)
XYZxyz(34.2447, 40.8961, 10.5038)
Luminance0.4089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB13D #3F3DB1
analogous
#B1793D #AFB13D #75B13D
triadic
#AFB13D #3DAFB1 #B13DAF
tetradic
#AFB13D #3DB179 #3F3DB1 #B13D75
square
#AFB13D #3DB179 #3F3DB1 #B13D75
split-complementary
#AFB13D #3D75B1 #793DB1
monochromatic
#55561E #82832D #AFB13D #C7C962 #D7D990

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB13D#FFFFFF#000000##000000
##AFB13D1.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)
#BFAA2D
Deuteranopia (green-blind)
#C0AD45
Tritanopia (blue-blind)
#BBA699
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afb13d;
/* rgb */ color: rgb(175, 177, 61);
/* oklch */ color: oklch(73.7% 0.136 110.3);
Tailwind
colors: {
  custom: {
    50: '#cac879',
    500: '#afb13d',
    950: '#000000',
  },
}
SCSS
$custom: #afb13d;
$custom-light: #cac879;
$custom-dark: #000000;
JSON
{
  "hex": "#afb13d",
  "rgb": {
    "r": 175,
    "g": 177,
    "b": 61
  },
  "hsl": {
    "h": 61.034,
    "s": 48.739,
    "l": 46.667
  },
  "oklch": {
    "l": 0.73698,
    "c": 0.13637,
    "h": 110.3
  },
  "luminance": 0.40895
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFB13D

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

Preview Lab → · Contrast checker → · Palette generator →

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