#CBA93D#CBA93D

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

Color values

HEX#CBA93D
RGBrgb(203, 169, 61)
HSLhsl(46, 58%, 52%)
HSVhsv(46, 70%, 80%)
CMYKcmyk(0%, 16.7%, 70%, 20.4%)
CIE-LABlab(70.46, 0.95, 57.89)
CIE-LCHlch(70.46, 57.90, 89.06°)
OKLaboklab(74.58% -0.0026 0.1295)
OKLCHoklch(74.58% 0.13 91.2)
XYZxyz(39.6610, 41.4117, 10.3182)
Luminance0.4141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA93D #3D5FCB
analogous
#CB623D #CBA93D #A6CB3D
triadic
#CBA93D #3DCBA9 #A93DCB
tetradic
#CBA93D #3DCB62 #3D5FCB #CB3DA6
square
#CBA93D #3DCB62 #3D5FCB #CB3DA6
split-complementary
#CBA93D #3DA6CB #623DCB
monochromatic
#705C1E #A0842B #CBA93D #D8BE6D #E5D49E

Accessibility & contrast

On white

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

On black

9.28
#CBA93D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBA93D
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBA93D#FFFFFF#000000##000000
##CBA93D1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cba93d;
/* rgb */ color: rgb(203, 169, 61);
/* oklch */ color: oklch(74.6% 0.130 91.2);
Tailwind
colors: {
  custom: {
    50: '#dfc278',
    500: '#cba93d',
    950: '#000000',
  },
}
SCSS
$custom: #cba93d;
$custom-light: #dfc278;
$custom-dark: #000000;
JSON
{
  "hex": "#cba93d",
  "rgb": {
    "r": 203,
    "g": 169,
    "b": 61
  },
  "hsl": {
    "h": 45.634,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.7458,
    "c": 0.12952,
    "h": 91.2
  },
  "luminance": 0.41409
}

Semantic roles & 50–950 ramp

primary
#CBA93D
secondary
#93A2D1
accent
#6CE147
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CBA93D

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

Preview Lab → · Contrast checker → · Palette generator →

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