#DAB238#DAB238

#DAB238 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.9% C 0.141 H 89.9°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#DAB238
RGBrgb(218, 178, 56)
HSLhsl(45, 69%, 54%)
HSVhsv(45, 74%, 85%)
CMYKcmyk(0%, 18.3%, 74.3%, 14.5%)
CIE-LABlab(74.21, 2.44, 64.06)
CIE-LCHlch(74.21, 64.10, 87.82°)
OKLaboklab(77.86% 0.0002 0.141)
OKLCHoklch(77.86% 0.141 89.9)
XYZxyz(45.5503, 47.0346, 10.4200)
Luminance0.4703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAB238 #3860DA
analogous
#DA6138 #DAB238 #B1DA38
triadic
#DAB238 #38DAB2 #B238DA
tetradic
#DAB238 #38DA61 #3860DA #DA38B1
square
#DAB238 #38DA61 #3860DA #DA38B1
split-complementary
#DAB238 #38B1DA #6138DA
monochromatic
#806618 #B38F21 #DAB238 #E4C66C #EDDA9F

Accessibility & contrast

On white

2.02
#DAB238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#DAB238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAB238
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAB238#FFFFFF#000000##000000
##DAB2381.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B024
Deuteranopia (green-blind)
#D0BB3F
Tritanopia (blue-blind)
#ECA39A
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #dab238;
/* rgb */ color: rgb(218, 178, 56);
/* oklch */ color: oklch(77.9% 0.141 89.9);
Tailwind
colors: {
  custom: {
    50: '#eac877',
    500: '#dab238',
    950: '#000000',
  },
}
SCSS
$custom: #dab238;
$custom-light: #eac877;
$custom-dark: #000000;
JSON
{
  "hex": "#dab238",
  "rgb": {
    "r": 218,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 45.185,
    "s": 68.644,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77865,
    "c": 0.14102,
    "h": 89.9
  },
  "luminance": 0.47032
}

Semantic roles & 50–950 ramp

primary
#DAB238
secondary
#94A5DA
accent
#68EB3C
background
#FFFCF7
surface
#FEF8EE
border
#D6D1C9
text
#171309
muted
#85827B

Preview Lab

Preview with #DAB238

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

Preview Lab → · Contrast checker → · Palette generator →

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