#AFB53D#AFB53D

#AFB53D is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.6% C 0.141 H 112.1°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#AFB53D
RGBrgb(175, 181, 61)
HSLhsl(63, 50%, 47%)
HSVhsv(63, 66%, 71%)
CMYKcmyk(3.3%, 0%, 66.3%, 29%)
CIE-LABlab(71.21, -17.38, 57.87)
CIE-LCHlch(71.21, 60.43, 106.72°)
OKLaboklab(74.59% -0.053 0.1303)
OKLCHoklch(74.59% 0.141 112.1)
XYZxyz(35.0464, 42.4994, 10.7710)
Luminance0.4250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB53D #433DB5
analogous
#B57F3D #AFB53D #73B53D
triadic
#AFB53D #3DAFB5 #B53DAF
tetradic
#AFB53D #3DB57F #433DB5 #B53D73
square
#AFB53D #3DB57F #433DB5 #B53D73
split-complementary
#AFB53D #3D73B5 #7F3DB5
monochromatic
#56591E #83872E #AFB53D #C6CB64 #D7DA92

Accessibility & contrast

On white

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

On black

9.50
#AFB53D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB53D
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB53D#FFFFFF#000000##000000
##AFB53D1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD2C
Deuteranopia (green-blind)
#C3B045
Tritanopia (blue-blind)
#BBAA9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afb53d;
/* rgb */ color: rgb(175, 181, 61);
/* oklch */ color: oklch(74.6% 0.141 112.1);
Tailwind
colors: {
  custom: {
    50: '#cacb79',
    500: '#afb53d',
    950: '#000000',
  },
}
SCSS
$custom: #afb53d;
$custom-light: #cacb79;
$custom-dark: #000000;
JSON
{
  "hex": "#afb53d",
  "rgb": {
    "r": 175,
    "g": 181,
    "b": 61
  },
  "hsl": {
    "h": 63,
    "s": 49.587,
    "l": 47.451
  },
  "oklch": {
    "l": 0.74586,
    "c": 0.14068,
    "h": 112.1
  },
  "luminance": 0.42499
}

Semantic roles & 50–950 ramp

primary
#AFB53D
secondary
#8B88C5
accent
#4FD956
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB53D

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

Preview Lab → · Contrast checker → · Palette generator →

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