#AFB754#AFB754

#AFB754 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.3% C 0.124 H 113.2°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#AFB754
RGBrgb(175, 183, 84)
HSLhsl(65, 41%, 52%)
HSVhsv(65, 54%, 72%)
CMYKcmyk(4.4%, 0%, 54.1%, 28.2%)
CIE-LABlab(71.97, -16.72, 48.62)
CIE-LCHlch(71.97, 51.42, 108.98°)
OKLaboklab(75.26% -0.0487 0.1137)
OKLCHoklch(75.26% 0.124 113.2)
XYZxyz(36.2136, 43.6217, 14.8979)
Luminance0.4362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB754 #5C54B7
analogous
#B78D54 #AFB754 #7EB754
triadic
#AFB754 #54AFB7 #B754AF
tetradic
#AFB754 #54B78D #5C54B7 #B7547E
square
#AFB754 #54B78D #5C54B7 #B7547E
split-complementary
#AFB754 #547EB7 #8D54B7
monochromatic
#61662B #8A913D #AFB754 #C3C97F #D7DBAA

Accessibility & contrast

On white

2.16
#AFB754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#AFB754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB754
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB754#FFFFFF#000000##000000
##AFB7541.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF4A
Deuteranopia (green-blind)
#C3B25A
Tritanopia (blue-blind)
#B9ADA1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afb754;
/* rgb */ color: rgb(175, 183, 84);
/* oklch */ color: oklch(75.3% 0.124 113.2);
Tailwind
colors: {
  custom: {
    50: '#c9cc87',
    500: '#afb754',
    950: '#000000',
  },
}
SCSS
$custom: #afb754;
$custom-light: #c9cc87;
$custom-dark: #000000;
JSON
{
  "hex": "#afb754",
  "rgb": {
    "r": 175,
    "g": 183,
    "b": 84
  },
  "hsl": {
    "h": 64.848,
    "s": 40.741,
    "l": 52.353
  },
  "oklch": {
    "l": 0.75261,
    "c": 0.1237,
    "h": 113.2
  },
  "luminance": 0.43621
}

Semantic roles & 50–950 ramp

primary
#AFB754
secondary
#A19EC9
accent
#57D161
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFB754

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

Preview Lab → · Contrast checker → · Palette generator →

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