#AFB133#AFB133

#AFB133 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.6% C 0.143 H 110.4°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#AFB133
RGBrgb(175, 177, 51)
HSLhsl(61, 55%, 45%)
HSVhsv(61, 71%, 69%)
CMYKcmyk(1.1%, 0%, 71.2%, 30.6%)
CIE-LABlab(70.03, -15.90, 60.53)
CIE-LCHlch(70.03, 62.58, 104.72°)
OKLaboklab(73.62% -0.0498 0.1342)
OKLCHoklch(73.62% 0.143 110.4)
XYZxyz(34.0000, 40.7982, 9.2151)
Luminance0.4080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB133 #3533B1
analogous
#B17433 #AFB133 #70B133
triadic
#AFB133 #33AFB1 #B133AF
tetradic
#AFB133 #33B174 #3533B1 #B13370
square
#AFB133 #33B174 #3533B1 #B13370
split-complementary
#AFB133 #3370B1 #7433B1
monochromatic
#515218 #808125 #AFB133 #CCCE54 #DADB83

Accessibility & contrast

On white

2.29
#AFB133 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#AFB133 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB133
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB133#FFFFFF#000000##000000
##AFB1331.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA91D
Deuteranopia (green-blind)
#C0AD3C
Tritanopia (blue-blind)
#BBA698
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afb133;
/* rgb */ color: rgb(175, 177, 51);
/* oklch */ color: oklch(73.6% 0.143 110.4);
Tailwind
colors: {
  custom: {
    50: '#cac873',
    500: '#afb133',
    950: '#000000',
  },
}
SCSS
$custom: #afb133;
$custom-light: #cac873;
$custom-dark: #000000;
JSON
{
  "hex": "#afb133",
  "rgb": {
    "r": 175,
    "g": 177,
    "b": 51
  },
  "hsl": {
    "h": 60.952,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73621,
    "c": 0.14319,
    "h": 110.4
  },
  "luminance": 0.40797
}

Semantic roles & 50–950 ramp

primary
#AFB133
secondary
#7C7BC5
accent
#49DF4C
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB133

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

Preview Lab → · Contrast checker → · Palette generator →

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