#CBAE3D#CBAE3D

#CBAE3D is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.6% C 0.133 H 94.4°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#CBAE3D
RGBrgb(203, 174, 61)
HSLhsl(48, 58%, 52%)
HSVhsv(48, 70%, 80%)
CMYKcmyk(0%, 14.3%, 70%, 20.4%)
CIE-LABlab(71.76, -1.70, 59.21)
CIE-LCHlch(71.76, 59.24, 91.65°)
OKLaboklab(75.61% -0.0102 0.1323)
OKLCHoklch(75.61% 0.133 94.4)
XYZxyz(40.6090, 43.3077, 10.6342)
Luminance0.4331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAE3D #3D5ACB
analogous
#CB673D #CBAE3D #A1CB3D
triadic
#CBAE3D #3DCBAE #AE3DCB
tetradic
#CBAE3D #3DCB67 #3D5ACB #CB3DA1
square
#CBAE3D #3DCB67 #3D5ACB #CB3DA1
split-complementary
#CBAE3D #3DA1CB #673DCB
monochromatic
#705F1E #A0882B #CBAE3D #D8C26D #E5D69E

Accessibility & contrast

On white

2.17
#CBAE3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#CBAE3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAE3D
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAE3D#FFFFFF#000000##000000
##CBAE3D1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB2D
Deuteranopia (green-blind)
#C7B443
Tritanopia (blue-blind)
#DBA197
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cbae3d;
/* rgb */ color: rgb(203, 174, 61);
/* oklch */ color: oklch(75.6% 0.133 94.4);
Tailwind
colors: {
  custom: {
    50: '#dfc579',
    500: '#cbae3d',
    950: '#000000',
  },
}
SCSS
$custom: #cbae3d;
$custom-light: #dfc579;
$custom-dark: #000000;
JSON
{
  "hex": "#cbae3d",
  "rgb": {
    "r": 203,
    "g": 174,
    "b": 61
  },
  "hsl": {
    "h": 47.746,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75607,
    "c": 0.13267,
    "h": 94.4
  },
  "luminance": 0.43306
}

Semantic roles & 50–950 ramp

primary
#CBAE3D
secondary
#939FD1
accent
#66E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CBAE3D

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

Preview Lab → · Contrast checker → · Palette generator →

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