#CAB74E#CAB74E

#CAB74E is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.5% C 0.127 H 99.1°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#CAB74E
RGBrgb(202, 183, 78)
HSLhsl(51, 54%, 55%)
HSVhsv(51, 61%, 79%)
CMYKcmyk(0%, 9.4%, 61.4%, 20.8%)
CIE-LABlab(74.17, -5.84, 54.47)
CIE-LCHlch(74.17, 54.78, 96.12°)
OKLaboklab(77.54% -0.02 0.1249)
OKLCHoklch(77.54% 0.127 99.1)
XYZxyz(42.6675, 46.9754, 14.0259)
Luminance0.4697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB74E #4E61CA
analogous
#CA794E #CAB74E #9FCA4E
triadic
#CAB74E #4ECAB7 #B74ECA
tetradic
#CAB74E #4ECA79 #4E61CA #CA4E9F
square
#CAB74E #4ECA79 #4E61CA #CA4E9F
split-complementary
#CAB74E #4E9FCA #794ECA
monochromatic
#796C24 #A89632 #CAB74E #D8CA7D #E6DDAC

Accessibility & contrast

On white

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

On black

10.39
#CAB74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB74E
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB74E#FFFFFF#000000##000000
##CAB74E1.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B242
Deuteranopia (green-blind)
#CCB953
Tritanopia (blue-blind)
#D9ABA0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cab74e;
/* rgb */ color: rgb(202, 183, 78);
/* oklch */ color: oklch(77.5% 0.127 99.1);
Tailwind
colors: {
  custom: {
    50: '#ddcc84',
    500: '#cab74e',
    950: '#000000',
  },
}
SCSS
$custom: #cab74e;
$custom-light: #ddcc84;
$custom-dark: #000000;
JSON
{
  "hex": "#cab74e",
  "rgb": {
    "r": 202,
    "g": 183,
    "b": 78
  },
  "hsl": {
    "h": 50.806,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77538,
    "c": 0.12652,
    "h": 99.1
  },
  "luminance": 0.46974
}

Semantic roles & 50–950 ramp

primary
#CAB74E
secondary
#A0A8D4
accent
#61DD4B
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #CAB74E

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

Preview Lab → · Contrast checker → · Palette generator →

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