#DAB235#DAB235

#DAB235 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.8% C 0.143 H 90.2°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#DAB235
RGBrgb(218, 178, 53)
HSLhsl(45, 69%, 53%)
HSVhsv(45, 76%, 85%)
CMYKcmyk(0%, 18.3%, 75.7%, 14.5%)
CIE-LABlab(74.19, 2.31, 65.14)
CIE-LCHlch(74.19, 65.18, 87.97°)
OKLaboklab(77.85% -0.0004 0.1427)
OKLCHoklch(77.85% 0.143 90.2)
XYZxyz(45.4791, 47.0062, 10.0452)
Luminance0.4700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAB235 #355DDA
analogous
#DA6035 #DAB235 #AFDA35
triadic
#DAB235 #35DAB2 #B235DA
tetradic
#DAB235 #35DA60 #355DDA #DA35AF
square
#DAB235 #35DA60 #355DDA #DA35AF
split-complementary
#DAB235 #35AFDA #6035DA
monochromatic
#7E6517 #B18E20 #DAB235 #E3C669 #EDD99C

Accessibility & contrast

On white

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

On black

10.40
#DAB235 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAB235
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAB235#FFFFFF#000000##000000
##DAB2351.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dab235;
/* rgb */ color: rgb(218, 178, 53);
/* oklch */ color: oklch(77.8% 0.143 90.2);
Tailwind
colors: {
  custom: {
    50: '#eac875',
    500: '#dab235',
    950: '#000000',
  },
}
SCSS
$custom: #dab235;
$custom-light: #eac875;
$custom-dark: #000000;
JSON
{
  "hex": "#dab235",
  "rgb": {
    "r": 218,
    "g": 178,
    "b": 53
  },
  "hsl": {
    "h": 45.455,
    "s": 69.038,
    "l": 53.137
  },
  "oklch": {
    "l": 0.77845,
    "c": 0.14272,
    "h": 90.2
  },
  "luminance": 0.47003
}

Semantic roles & 50–950 ramp

primary
#DAB235
secondary
#92A3D9
accent
#67EC3C
background
#FFFCF7
surface
#FEF8ED
border
#D6D1C8
text
#171309
muted
#85827B

Preview Lab

Preview with #DAB235

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

Preview Lab → · Contrast checker → · Palette generator →

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