#CBAF46#CBAF46

#CBAF46 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.9% C 0.127 H 94.2°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#CBAF46
RGBrgb(203, 175, 70)
HSLhsl(47, 56%, 54%)
HSVhsv(47, 66%, 80%)
CMYKcmyk(0%, 13.8%, 65.5%, 20.4%)
CIE-LABlab(72.10, -1.73, 55.77)
CIE-LCHlch(72.10, 55.80, 91.77°)
OKLaboklab(75.89% -0.0092 0.1265)
OKLCHoklch(75.89% 0.127 94.2)
XYZxyz(41.0660, 43.8008, 12.0845)
Luminance0.4380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAF46 #4662CB
analogous
#CB6C46 #CBAF46 #A5CB46
triadic
#CBAF46 #46CBAF #AF46CB
tetradic
#CBAF46 #46CB6C #4662CB #CB46A5
square
#CBAF46 #46CB6C #4662CB #CB46A5
split-complementary
#CBAF46 #46A5CB #6C46CB
monochromatic
#766421 #A58C2E #CBAF46 #D8C476 #E6D8A6

Accessibility & contrast

On white

2.15
#CBAF46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#CBAF46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAF46
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAF46#FFFFFF#000000##000000
##CBAF461.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC39
Deuteranopia (green-blind)
#C8B44B
Tritanopia (blue-blind)
#DBA299
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cbaf46;
/* rgb */ color: rgb(203, 175, 70);
/* oklch */ color: oklch(75.9% 0.127 94.2);
Tailwind
colors: {
  custom: {
    50: '#dec67e',
    500: '#cbaf46',
    950: '#000000',
  },
}
SCSS
$custom: #cbaf46;
$custom-light: #dec67e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbaf46",
  "rgb": {
    "r": 203,
    "g": 175,
    "b": 70
  },
  "hsl": {
    "h": 47.368,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.75892,
    "c": 0.12684,
    "h": 94.2
  },
  "luminance": 0.43799
}

Semantic roles & 50–950 ramp

primary
#CBAF46
secondary
#9AA6D3
accent
#68DF48
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBAF46

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

Preview Lab → · Contrast checker → · Palette generator →

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