#CBA93F#CBA93F

#CBA93F is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.6% C 0.128 H 90.9°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#CBA93F
RGBrgb(203, 169, 63)
HSLhsl(45, 57%, 52%)
HSVhsv(45, 69%, 80%)
CMYKcmyk(0%, 16.7%, 69%, 20.4%)
CIE-LABlab(70.48, 1.05, 57.08)
CIE-LCHlch(70.48, 57.08, 88.94°)
OKLaboklab(74.6% -0.0021 0.1281)
OKLCHoklch(74.6% 0.128 90.9)
XYZxyz(39.7159, 41.4337, 10.6073)
Luminance0.4143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA93F #3F61CB
analogous
#CB633F #CBA93F #A7CB3F
triadic
#CBA93F #3FCBA9 #A93FCB
tetradic
#CBA93F #3FCB63 #3F61CB #CB3FA7
square
#CBA93F #3FCB63 #3F61CB #CB3FA7
split-complementary
#CBA93F #3FA7CB #633FCB
monochromatic
#715D1F #A1852C #CBA93F #D8BF6F #E5D49F

Accessibility & contrast

On white

2.26
#CBA93F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#CBA93F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBA93F
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBA93F#FFFFFF#000000##000000
##CBA93F1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA731
Deuteranopia (green-blind)
#C4B044
Tritanopia (blue-blind)
#DB9B93
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cba93f;
/* rgb */ color: rgb(203, 169, 63);
/* oklch */ color: oklch(74.6% 0.128 90.9);
Tailwind
colors: {
  custom: {
    50: '#dfc27a',
    500: '#cba93f',
    950: '#000000',
  },
}
SCSS
$custom: #cba93f;
$custom-light: #dfc27a;
$custom-dark: #000000;
JSON
{
  "hex": "#cba93f",
  "rgb": {
    "r": 203,
    "g": 169,
    "b": 63
  },
  "hsl": {
    "h": 45.429,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74597,
    "c": 0.12813,
    "h": 90.9
  },
  "luminance": 0.41431
}

Semantic roles & 50–950 ramp

primary
#CBA93F
secondary
#94A3D1
accent
#6CE147
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CBA93F

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

Preview Lab → · Contrast checker → · Palette generator →

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