#AFB53E#AFB53E

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

Color values

HEX#AFB53E
RGBrgb(175, 181, 62)
HSLhsl(63, 49%, 48%)
HSVhsv(63, 66%, 71%)
CMYKcmyk(3.3%, 0%, 65.7%, 29%)
CIE-LABlab(71.22, -17.32, 57.48)
CIE-LCHlch(71.22, 60.03, 106.77°)
OKLaboklab(74.59% -0.0527 0.1296)
OKLCHoklch(74.59% 0.14 112.1)
XYZxyz(35.0736, 42.5103, 10.9142)
Luminance0.4251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB53E #443EB5
analogous
#B57F3E #AFB53E #74B53E
triadic
#AFB53E #3EAFB5 #B53EAF
tetradic
#AFB53E #3EB57F #443EB5 #B53E74
square
#AFB53E #3EB57F #443EB5 #B53E74
split-complementary
#AFB53E #3E74B5 #7F3EB5
monochromatic
#575A1F #83872E #AFB53E #C5CA66 #D7DA93

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB53E#FFFFFF#000000##000000
##AFB53E1.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)
#C2AD2E
Deuteranopia (green-blind)
#C3B046
Tritanopia (blue-blind)
#BBAA9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afb53e;
/* rgb */ color: rgb(175, 181, 62);
/* oklch */ color: oklch(74.6% 0.140 112.1);
Tailwind
colors: {
  custom: {
    50: '#cacb7a',
    500: '#afb53e',
    950: '#000000',
  },
}
SCSS
$custom: #afb53e;
$custom-light: #cacb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#afb53e",
  "rgb": {
    "r": 175,
    "g": 181,
    "b": 62
  },
  "hsl": {
    "h": 63.025,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.74594,
    "c": 0.13995,
    "h": 112.1
  },
  "luminance": 0.4251
}

Semantic roles & 50–950 ramp

primary
#AFB53E
secondary
#8C89C5
accent
#4FD956
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFB53E

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

Preview Lab → · Contrast checker → · Palette generator →

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