#AFB833#AFB833

#AFB833 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.2% C 0.151 H 113.4°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#AFB833
RGBrgb(175, 184, 51)
HSLhsl(64, 57%, 46%)
HSVhsv(64, 72%, 72%)
CMYKcmyk(4.9%, 0%, 72.3%, 27.8%)
CIE-LABlab(71.98, -19.44, 62.41)
CIE-LCHlch(71.98, 65.37, 107.30°)
OKLaboklab(75.18% -0.0597 0.1382)
OKLCHoklch(75.18% 0.151 113.4)
XYZxyz(35.4183, 43.6347, 9.6879)
Luminance0.4363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB833 #3C33B8
analogous
#B87E33 #AFB833 #6CB833
triadic
#AFB833 #33AFB8 #B833AF
tetradic
#AFB833 #33B87E #3C33B8 #B8336C
square
#AFB833 #33B87E #3C33B8 #B8336C
split-complementary
#AFB833 #336CB8 #7E33B8
monochromatic
#545818 #818826 #AFB833 #C8D158 #D8DE88

Accessibility & contrast

On white

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

On black

9.73
#AFB833 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB833
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB833#FFFFFF#000000##000000
##AFB8331.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF1A
Deuteranopia (green-blind)
#C6B23E
Tritanopia (blue-blind)
#BBAD9E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afb833;
/* rgb */ color: rgb(175, 184, 51);
/* oklch */ color: oklch(75.2% 0.151 113.4);
Tailwind
colors: {
  custom: {
    50: '#cacd74',
    500: '#afb833',
    950: '#000000',
  },
}
SCSS
$custom: #afb833;
$custom-light: #cacd74;
$custom-dark: #000000;
JSON
{
  "hex": "#afb833",
  "rgb": {
    "r": 175,
    "g": 184,
    "b": 51
  },
  "hsl": {
    "h": 64.06,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75181,
    "c": 0.15055,
    "h": 113.4
  },
  "luminance": 0.43634
}

Semantic roles & 50–950 ramp

primary
#AFB833
secondary
#847FC8
accent
#48E052
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #AFB833

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

Preview Lab → · Contrast checker → · Palette generator →

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