#AFB13B#AFB13B

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

Color values

HEX#AFB13B
RGBrgb(175, 177, 59)
HSLhsl(61, 50%, 46%)
HSVhsv(61, 67%, 69%)
CMYKcmyk(1.1%, 0%, 66.7%, 30.6%)
CIE-LABlab(70.09, -15.47, 57.52)
CIE-LCHlch(70.09, 59.56, 105.05°)
OKLaboklab(73.68% -0.0478 0.1293)
OKLCHoklch(73.68% 0.138 110.3)
XYZxyz(34.1918, 40.8749, 10.2253)
Luminance0.4087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB13B #3D3BB1
analogous
#B1783B #AFB13B #74B13B
triadic
#AFB13B #3BAFB1 #B13BAF
tetradic
#AFB13B #3BB178 #3D3BB1 #B13B74
square
#AFB13B #3BB178 #3D3BB1 #B13B74
split-complementary
#AFB13B #3B74B1 #783BB1
monochromatic
#54551C #82832C #AFB13B #C8CA5F #D8D98D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB13B#FFFFFF#000000##000000
##AFB13B1.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)
#BFA92A
Deuteranopia (green-blind)
#C0AD43
Tritanopia (blue-blind)
#BBA699
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afb13b;
/* rgb */ color: rgb(175, 177, 59);
/* oklch */ color: oklch(73.7% 0.138 110.3);
Tailwind
colors: {
  custom: {
    50: '#cac878',
    500: '#afb13b',
    950: '#000000',
  },
}
SCSS
$custom: #afb13b;
$custom-light: #cac878;
$custom-dark: #000000;
JSON
{
  "hex": "#afb13b",
  "rgb": {
    "r": 175,
    "g": 177,
    "b": 59
  },
  "hsl": {
    "h": 61.017,
    "s": 50,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73682,
    "c": 0.13782,
    "h": 110.3
  },
  "luminance": 0.40874
}

Semantic roles & 50–950 ramp

primary
#AFB13B
secondary
#8584C4
accent
#4EDA51
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB13B

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

Preview Lab → · Contrast checker → · Palette generator →

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