#AFB437#AFB437

#AFB437 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.3% C 0.144 H 111.7°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#AFB437
RGBrgb(175, 180, 55)
HSLhsl(62, 53%, 46%)
HSVhsv(62, 69%, 71%)
CMYKcmyk(2.8%, 0%, 69.4%, 29.4%)
CIE-LABlab(70.89, -17.22, 59.88)
CIE-LCHlch(70.89, 62.31, 106.04°)
OKLaboklab(74.32% -0.0531 0.1336)
OKLCHoklch(74.32% 0.144 111.7)
XYZxyz(34.6911, 42.0332, 9.8995)
Luminance0.4203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB437 #3C37B4
analogous
#B47A37 #AFB437 #70B437
triadic
#AFB437 #37AFB4 #B437AF
tetradic
#AFB437 #37B47A #3C37B4 #B43770
square
#AFB437 #37B47A #3C37B4 #B43770
split-complementary
#AFB437 #3770B4 #7A37B4
monochromatic
#54561A #818529 #AFB437 #C8CD5B #D8DB8A

Accessibility & contrast

On white

2.23
#AFB437 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#AFB437 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB437
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB437#FFFFFF#000000##000000
##AFB4371.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC23
Deuteranopia (green-blind)
#C2AF40
Tritanopia (blue-blind)
#BBA99B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afb437;
/* rgb */ color: rgb(175, 180, 55);
/* oklch */ color: oklch(74.3% 0.144 111.7);
Tailwind
colors: {
  custom: {
    50: '#caca76',
    500: '#afb437',
    950: '#000000',
  },
}
SCSS
$custom: #afb437;
$custom-light: #caca76;
$custom-dark: #000000;
JSON
{
  "hex": "#afb437",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 55
  },
  "hsl": {
    "h": 62.4,
    "s": 53.191,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74317,
    "c": 0.14376,
    "h": 111.7
  },
  "luminance": 0.42032
}

Semantic roles & 50–950 ramp

primary
#AFB437
secondary
#8481C6
accent
#4BDD51
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB437

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

Preview Lab → · Contrast checker → · Palette generator →

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