#F5C798#F5C798

#F5C798 is a very light, moderate orange. Relative luminance 0.625; OKLCH L 85.9% C 0.081 H 67.0°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#F5C798
RGBrgb(245, 199, 152)
HSLhsl(30, 82%, 78%)
HSVhsv(30, 38%, 96%)
CMYKcmyk(0%, 18.8%, 38%, 3.9%)
CIE-LABlab(83.19, 10.11, 29.71)
CIE-LCHlch(83.19, 31.38, 71.21°)
OKLaboklab(85.89% 0.0315 0.0743)
OKLCHoklch(85.89% 0.081 67)
XYZxyz(63.7489, 62.5295, 38.4112)
Luminance0.6253 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5C798 #98C6F5
analogous
#F59898 #F5C798 #F4F598
triadic
#F5C798 #98F5C7 #C798F5
tetradic
#F5C798 #98F598 #98C6F5 #F598F4
square
#F5C798 #98F598 #98C6F5 #F598F4
split-complementary
#F5C798 #98F4F5 #9898F5
monochromatic
#EA8A28 #F0A960 #F5C798 #FAE5D0 #FCF0E3

Accessibility & contrast

On white

1.55
#F5C798 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.51
#F5C798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5C798
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5C798#FFFFFF#000000##000000
##F5C7981.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C995
Deuteranopia (green-blind)
#E1D399
Tritanopia (blue-blind)
#FFBDBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #f5c798;
/* rgb */ color: rgb(245, 199, 152);
/* oklch */ color: oklch(85.9% 0.081 67.0);
Tailwind
colors: {
  custom: {
    50: '#fad8b6',
    500: '#f5c798',
    950: '#000000',
  },
}
SCSS
$custom: #f5c798;
$custom-light: #fad8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f5c798",
  "rgb": {
    "r": 245,
    "g": 199,
    "b": 152
  },
  "hsl": {
    "h": 30.323,
    "s": 82.301,
    "l": 77.843
  },
  "oklch": {
    "l": 0.85892,
    "c": 0.08065,
    "h": 67
  },
  "luminance": 0.62526
}

Semantic roles & 50–950 ramp

primary
#F5C798
secondary
#5E98D4
accent
#72DF07
background
#FFFEFD
surface
#FFFBF8
border
#D7D4D1
text
#171411
muted
#858381

Preview Lab

Preview with #F5C798

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

Preview Lab → · Contrast checker → · Palette generator →

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