#FAF361#FAF361

#FAF361 is a very light, vivid yellow. Relative luminance 0.853; OKLCH L 94.3% C 0.164 H 106.5°. Best body text is #000000 at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#FAF361
RGBrgb(250, 243, 97)
HSLhsl(57, 94%, 68%)
HSVhsv(57, 61%, 98%)
CMYKcmyk(0%, 2.8%, 61.2%, 2%)
CIE-LABlab(94.01, -14.96, 69.04)
CIE-LCHlch(94.01, 70.64, 102.22°)
OKLaboklab(94.32% -0.0467 0.1573)
OKLCHoklch(94.32% 0.164 106.5)
XYZxyz(73.6351, 85.2906, 23.8909)
Luminance0.8529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF361 #6168FA
analogous
#FAA661 #FAF361 #B4FA61
triadic
#FAF361 #61FAF3 #F361FA
tetradic
#FAF361 #61FAA6 #6168FA #FA61B4
square
#FAF361 #61FAA6 #6168FA #FA61B4
split-complementary
#FAF361 #61B4FA #A661FA
monochromatic
#DAD007 #F8EE26 #FAF361 #FCF89C #FEFCD8

Accessibility & contrast

On white

1.16
#FAF361 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.06
#FAF361 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF361
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF361#FFFFFF#000000##000000
##FAF3611.001.1618.0618.06
#FFFFFF1.161.0021.0021.00
#00000018.0621.001.001.00
##00000018.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA4F
Deuteranopia (green-blind)
#FFF16A
Tritanopia (blue-blind)
#FFE4D4
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #faf361;
/* rgb */ color: rgb(250, 243, 97);
/* oklch */ color: oklch(94.3% 0.164 106.5);
Tailwind
colors: {
  custom: {
    50: '#fff694',
    500: '#faf361',
    950: '#000000',
  },
}
SCSS
$custom: #faf361;
$custom-light: #fff694;
$custom-dark: #000000;
JSON
{
  "hex": "#faf361",
  "rgb": {
    "r": 250,
    "g": 243,
    "b": 97
  },
  "hsl": {
    "h": 57.255,
    "s": 93.865,
    "l": 68.039
  },
  "oklch": {
    "l": 0.94319,
    "c": 0.16408,
    "h": 106.5
  },
  "luminance": 0.85288
}

Semantic roles & 50–950 ramp

primary
#FAF361
secondary
#2C34D3
accent
#0AE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAF361

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

Preview Lab → · Contrast checker → · Palette generator →

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