#AFB137#AFB137

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

Color values

HEX#AFB137
RGBrgb(175, 177, 55)
HSLhsl(61, 53%, 45%)
HSVhsv(61, 69%, 69%)
CMYKcmyk(1.1%, 0%, 68.9%, 30.6%)
CIE-LABlab(70.06, -15.69, 59.06)
CIE-LCHlch(70.06, 61.11, 104.88°)
OKLaboklab(73.65% -0.0488 0.1318)
OKLCHoklch(73.65% 0.141 110.3)
XYZxyz(34.0921, 40.8350, 9.6998)
Luminance0.4083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB137 #3937B1
analogous
#B17637 #AFB137 #72B137
triadic
#AFB137 #37AFB1 #B137AF
tetradic
#AFB137 #37B176 #3937B1 #B13772
square
#AFB137 #37B176 #3937B1 #B13772
split-complementary
#AFB137 #3772B1 #7637B1
monochromatic
#53541A #818228 #AFB137 #CACC5A #D9DA88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB137#FFFFFF#000000##000000
##AFB1371.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)
#BFA924
Deuteranopia (green-blind)
#C0AD40
Tritanopia (blue-blind)
#BBA699
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afb137;
/* rgb */ color: rgb(175, 177, 55);
/* oklch */ color: oklch(73.7% 0.141 110.3);
Tailwind
colors: {
  custom: {
    50: '#cac875',
    500: '#afb137',
    950: '#000000',
  },
}
SCSS
$custom: #afb137;
$custom-light: #cac875;
$custom-dark: #000000;
JSON
{
  "hex": "#afb137",
  "rgb": {
    "r": 175,
    "g": 177,
    "b": 55
  },
  "hsl": {
    "h": 60.984,
    "s": 52.586,
    "l": 45.49
  },
  "oklch": {
    "l": 0.7365,
    "c": 0.1406,
    "h": 110.3
  },
  "luminance": 0.40834
}

Semantic roles & 50–950 ramp

primary
#AFB137
secondary
#8180C4
accent
#4CDC4E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB137

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

Preview Lab → · Contrast checker → · Palette generator →

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