#AFB454#AFB454

#AFB454 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.6% C 0.120 H 111.7°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#AFB454
RGBrgb(175, 180, 84)
HSLhsl(63, 39%, 52%)
HSVhsv(63, 53%, 71%)
CMYKcmyk(2.8%, 0%, 53.3%, 29.4%)
CIE-LABlab(71.14, -15.20, 47.66)
CIE-LCHlch(71.14, 50.03, 107.68°)
OKLaboklab(74.6% -0.0444 0.1116)
OKLCHoklch(74.6% 0.12 111.7)
XYZxyz(35.6015, 42.3973, 14.6939)
Luminance0.4240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB454 #5954B4
analogous
#B48954 #AFB454 #7FB454
triadic
#AFB454 #54AFB4 #B454AF
tetradic
#AFB454 #54B489 #5954B4 #B4547F
square
#AFB454 #54B489 #5954B4 #B4547F
split-complementary
#AFB454 #547FB4 #8954B4
monochromatic
#60622B #898D3E #AFB454 #C3C77F #D7D9A9

Accessibility & contrast

On white

2.22
#AFB454 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#AFB454 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB454
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB454#FFFFFF#000000##000000
##AFB4541.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD4B
Deuteranopia (green-blind)
#C0AF59
Tritanopia (blue-blind)
#B9AA9F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afb454;
/* rgb */ color: rgb(175, 180, 84);
/* oklch */ color: oklch(74.6% 0.120 111.7);
Tailwind
colors: {
  custom: {
    50: '#c9ca87',
    500: '#afb454',
    950: '#000000',
  },
}
SCSS
$custom: #afb454;
$custom-light: #c9ca87;
$custom-dark: #000000;
JSON
{
  "hex": "#afb454",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 84
  },
  "hsl": {
    "h": 63.125,
    "s": 39.024,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74597,
    "c": 0.12013,
    "h": 111.7
  },
  "luminance": 0.42397
}

Semantic roles & 50–950 ramp

primary
#AFB454
secondary
#9F9DC7
accent
#59CF5F
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFB454

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

Preview Lab → · Contrast checker → · Palette generator →

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