#AFB263#AFB263

#AFB263 is a light, moderate yellow. Relative luminance 0.419; OKLCH L 74.4% C 0.102 H 110.6°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#AFB263
RGBrgb(175, 178, 99)
HSLhsl(62, 34%, 54%)
HSVhsv(62, 44%, 70%)
CMYKcmyk(1.7%, 0%, 44.4%, 30.2%)
CIE-LABlab(70.77, -12.75, 39.86)
CIE-LCHlch(70.77, 41.85, 107.74°)
OKLaboklab(74.36% -0.0359 0.0958)
OKLCHoklch(74.36% 0.102 110.6)
XYZxyz(35.8523, 41.8563, 17.9924)
Luminance0.4186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB263 #6663B2
analogous
#B28E63 #AFB263 #88B263
triadic
#AFB263 #63AFB2 #B263AF
tetradic
#AFB263 #63B28E #6663B2 #B26388
square
#AFB263 #63B28E #6663B2 #B26388
split-complementary
#AFB263 #6388B2 #8E63B2
monochromatic
#666833 #8E9047 #AFB263 #C4C68C #D9DAB5

Accessibility & contrast

On white

2.24
#AFB263 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#AFB263 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB263
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB263#FFFFFF#000000##000000
##AFB2631.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAC5C
Deuteranopia (green-blind)
#BEAE67
Tritanopia (blue-blind)
#B8A99F
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afb263;
/* rgb */ color: rgb(175, 178, 99);
/* oklch */ color: oklch(74.4% 0.102 110.6);
Tailwind
colors: {
  custom: {
    50: '#c8c891',
    500: '#afb263',
    950: '#000000',
  },
}
SCSS
$custom: #afb263;
$custom-light: #c8c891;
$custom-dark: #000000;
JSON
{
  "hex": "#afb263",
  "rgb": {
    "r": 175,
    "g": 178,
    "b": 99
  },
  "hsl": {
    "h": 62.278,
    "s": 33.906,
    "l": 54.314
  },
  "oklch": {
    "l": 0.74358,
    "c": 0.10231,
    "h": 110.6
  },
  "luminance": 0.41856
}

Semantic roles & 50–950 ramp

primary
#AFB263
secondary
#A9A8C9
accent
#5ECA62
background
#FCFCF9
surface
#F8F8F1
border
#D1D1CB
text
#13130D
muted
#82827E

Preview Lab

Preview with #AFB263

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

Preview Lab → · Contrast checker → · Palette generator →

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