#AFB450#AFB450

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

Color values

HEX#AFB450
RGBrgb(175, 180, 80)
HSLhsl(63, 40%, 51%)
HSVhsv(63, 56%, 71%)
CMYKcmyk(2.8%, 0%, 55.6%, 29.4%)
CIE-LABlab(71.10, -15.53, 49.49)
CIE-LCHlch(71.10, 51.87, 107.42°)
OKLaboklab(74.55% -0.0457 0.1151)
OKLCHoklch(74.55% 0.124 111.7)
XYZxyz(35.4492, 42.3364, 13.8922)
Luminance0.4234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB450 #5550B4
analogous
#B48750 #AFB450 #7DB450
triadic
#AFB450 #50AFB4 #B450AF
tetradic
#AFB450 #50B487 #5550B4 #B4507D
square
#AFB450 #50B487 #5550B4 #B4507D
split-complementary
#AFB450 #507DB4 #8750B4
monochromatic
#5E6029 #878B3C #AFB450 #C3C67B #D6D9A6

Accessibility & contrast

On white

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

On black

9.47
#AFB450 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB450
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB450#FFFFFF#000000##000000
##AFB4501.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD46
Deuteranopia (green-blind)
#C1AF56
Tritanopia (blue-blind)
#BAAA9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afb450;
/* rgb */ color: rgb(175, 180, 80);
/* oklch */ color: oklch(74.6% 0.124 111.7);
Tailwind
colors: {
  custom: {
    50: '#c9ca84',
    500: '#afb450',
    950: '#000000',
  },
}
SCSS
$custom: #afb450;
$custom-light: #c9ca84;
$custom-dark: #000000;
JSON
{
  "hex": "#afb450",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 80
  },
  "hsl": {
    "h": 63,
    "s": 40,
    "l": 50.98
  },
  "oklch": {
    "l": 0.7455,
    "c": 0.12389,
    "h": 111.7
  },
  "luminance": 0.42336
}

Semantic roles & 50–950 ramp

primary
#AFB450
secondary
#9C9AC6
accent
#58D05E
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFB450

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

Preview Lab → · Contrast checker → · Palette generator →

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