#AFB537#AFB537

#AFB537 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.5% C 0.145 H 112.1°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#AFB537
RGBrgb(175, 181, 55)
HSLhsl(63, 53%, 46%)
HSVhsv(63, 70%, 71%)
CMYKcmyk(3.3%, 0%, 69.6%, 29%)
CIE-LABlab(71.17, -17.72, 60.16)
CIE-LCHlch(71.17, 62.72, 106.41°)
OKLaboklab(74.54% -0.0545 0.1342)
OKLCHoklch(74.54% 0.145 112.1)
XYZxyz(34.8937, 42.4384, 9.9670)
Luminance0.4244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB537 #3D37B5
analogous
#B57C37 #AFB537 #70B537
triadic
#AFB537 #37AFB5 #B537AF
tetradic
#AFB537 #37B57C #3D37B5 #B53770
square
#AFB537 #37B57C #3D37B5 #B53770
split-complementary
#AFB537 #3770B5 #7C37B5
monochromatic
#54571A #828629 #AFB537 #C8CD5C #D8DC8B

Accessibility & contrast

On white

2.21
#AFB537 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#AFB537 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB537
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB537#FFFFFF#000000##000000
##AFB5371.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD22
Deuteranopia (green-blind)
#C3B040
Tritanopia (blue-blind)
#BBAA9C
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afb537;
/* rgb */ color: rgb(175, 181, 55);
/* oklch */ color: oklch(74.5% 0.145 112.1);
Tailwind
colors: {
  custom: {
    50: '#cacb76',
    500: '#afb537',
    950: '#000000',
  },
}
SCSS
$custom: #afb537;
$custom-light: #cacb76;
$custom-dark: #000000;
JSON
{
  "hex": "#afb537",
  "rgb": {
    "r": 175,
    "g": 181,
    "b": 55
  },
  "hsl": {
    "h": 62.857,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.74539,
    "c": 0.14483,
    "h": 112.1
  },
  "luminance": 0.42438
}

Semantic roles & 50–950 ramp

primary
#AFB537
secondary
#8582C6
accent
#4BDD52
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB537

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

Preview Lab → · Contrast checker → · Palette generator →

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