#AFB265#AFB265

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

Color values

HEX#AFB265
RGBrgb(175, 178, 101)
HSLhsl(62, 33%, 55%)
HSVhsv(62, 43%, 70%)
CMYKcmyk(1.7%, 0%, 43.3%, 30.2%)
CIE-LABlab(70.80, -12.54, 38.88)
CIE-LCHlch(70.80, 40.85, 107.88°)
OKLaboklab(74.39% -0.0351 0.0938)
OKLCHoklch(74.39% 0.1 110.5)
XYZxyz(35.9491, 41.8950, 18.5022)
Luminance0.4189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB265 #6865B2
analogous
#B28F65 #AFB265 #88B265
triadic
#AFB265 #65AFB2 #B265AF
tetradic
#AFB265 #65B28F #6865B2 #B26588
square
#AFB265 #65B28F #6865B2 #B26588
split-complementary
#AFB265 #6588B2 #8F65B2
monochromatic
#666834 #8E9149 #AFB265 #C4C68E #D9DBB7

Accessibility & contrast

On white

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

On black

9.38
#AFB265 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB265
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB265#FFFFFF#000000##000000
##AFB2651.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAC5F
Deuteranopia (green-blind)
#BDAE69
Tritanopia (blue-blind)
#B8AAA0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afb265;
/* rgb */ color: rgb(175, 178, 101);
/* oklch */ color: oklch(74.4% 0.100 110.5);
Tailwind
colors: {
  custom: {
    50: '#c8c892',
    500: '#afb265',
    950: '#000000',
  },
}
SCSS
$custom: #afb265;
$custom-light: #c8c892;
$custom-dark: #000000;
JSON
{
  "hex": "#afb265",
  "rgb": {
    "r": 175,
    "g": 178,
    "b": 101
  },
  "hsl": {
    "h": 62.338,
    "s": 33.333,
    "l": 54.706
  },
  "oklch": {
    "l": 0.74388,
    "c": 0.10012,
    "h": 110.5
  },
  "luminance": 0.41894
}

Semantic roles & 50–950 ramp

primary
#AFB265
secondary
#AAA9CA
accent
#5EC963
background
#FCFCF9
surface
#F8F8F1
border
#D1D1CB
text
#13130D
muted
#82827E

Preview Lab

Preview with #AFB265

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

Preview Lab → · Contrast checker → · Palette generator →

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