#CBAE3F#CBAE3F

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

Color values

HEX#CBAE3F
RGBrgb(203, 174, 63)
HSLhsl(48, 57%, 52%)
HSVhsv(48, 69%, 80%)
CMYKcmyk(0%, 14.3%, 69%, 20.4%)
CIE-LABlab(71.78, -1.60, 58.41)
CIE-LCHlch(71.78, 58.43, 91.57°)
OKLaboklab(75.62% -0.0097 0.1309)
OKLCHoklch(75.62% 0.131 94.2)
XYZxyz(40.6639, 43.3297, 10.9233)
Luminance0.4333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAE3F #3F5CCB
analogous
#CB683F #CBAE3F #A2CB3F
triadic
#CBAE3F #3FCBAE #AE3FCB
tetradic
#CBAE3F #3FCB68 #3F5CCB #CB3FA2
square
#CBAE3F #3FCB68 #3F5CCB #CB3FA2
split-complementary
#CBAE3F #3FA2CB #683FCB
monochromatic
#71601F #A1892C #CBAE3F #D8C26F #E5D79F

Accessibility & contrast

On white

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

On black

9.67
#CBAE3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAE3F
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAE3F#FFFFFF#000000##000000
##CBAE3F1.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbae3f;
/* rgb */ color: rgb(203, 174, 63);
/* oklch */ color: oklch(75.6% 0.131 94.2);
Tailwind
colors: {
  custom: {
    50: '#dfc57a',
    500: '#cbae3f',
    950: '#000000',
  },
}
SCSS
$custom: #cbae3f;
$custom-light: #dfc57a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbae3f",
  "rgb": {
    "r": 203,
    "g": 174,
    "b": 63
  },
  "hsl": {
    "h": 47.571,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75623,
    "c": 0.1313,
    "h": 94.2
  },
  "luminance": 0.43327
}

Semantic roles & 50–950 ramp

primary
#CBAE3F
secondary
#94A1D1
accent
#67E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CBAE3F

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

Preview Lab → · Contrast checker → · Palette generator →

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