#FFE23B#FFE23B

#FFE23B is a very light, vivid yellow. Relative luminance 0.760; OKLCH L 91.0% C 0.174 H 98.8°. Best body text is #000000 at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#FFE23B
RGBrgb(255, 226, 59)
HSLhsl(51, 100%, 62%)
HSVhsv(51, 77%, 100%)
CMYKcmyk(0%, 11.4%, 76.9%, 0%)
CIE-LABlab(89.85, -6.36, 78.85)
CIE-LCHlch(89.85, 79.10, 94.61°)
OKLaboklab(91.03% -0.0264 0.1716)
OKLCHoklch(91.03% 0.174 98.8)
XYZxyz(69.2293, 75.9720, 15.1544)
Luminance0.7597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE23B #3B58FF
analogous
#FF803B #FFE23B #BAFF3B
triadic
#FFE23B #3BFFE2 #E23BFF
tetradic
#FFE23B #3BFF80 #3B58FF #FF3BBA
square
#FFE23B #3BFF80 #3B58FF #FF3BBA
split-complementary
#FFE23B #3BBAFF #803BFF
monochromatic
#C0A300 #FDD700 #FFE23B #FFEB78 #FFF4B5

Accessibility & contrast

On white

1.30
#FFE23B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.19
#FFE23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE23B
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE23B#FFFFFF#000000##000000
##FFE23B1.001.3016.1916.19
#FFFFFF1.301.0021.0021.00
#00000016.1921.001.001.00
##00000016.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DC11
Deuteranopia (green-blind)
#FFE647
Tritanopia (blue-blind)
#FFD1C3
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ffe23b;
/* rgb */ color: rgb(255, 226, 59);
/* oklch */ color: oklch(91.0% 0.174 98.8);
Tailwind
colors: {
  custom: {
    50: '#ffea7e',
    500: '#ffe23b',
    950: '#000000',
  },
}
SCSS
$custom: #ffe23b;
$custom-light: #ffea7e;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe23b",
  "rgb": {
    "r": 255,
    "g": 226,
    "b": 59
  },
  "hsl": {
    "h": 51.122,
    "s": 100,
    "l": 61.569
  },
  "oklch": {
    "l": 0.91034,
    "c": 0.17359,
    "h": 98.8
  },
  "luminance": 0.75968
}

Semantic roles & 50–950 ramp

primary
#FFE23B
secondary
#2138BD
accent
#22E600
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#19160B
muted
#87847E

Preview Lab

Preview with #FFE23B

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

Preview Lab → · Contrast checker → · Palette generator →

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