#CBA83F#CBA83F

#CBA83F is a light, vivid yellow. Relative luminance 0.411; OKLCH L 74.4% C 0.128 H 90.2°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#CBA83F
RGBrgb(203, 168, 63)
HSLhsl(45, 57%, 52%)
HSVhsv(45, 69%, 80%)
CMYKcmyk(0%, 17.2%, 69%, 20.4%)
CIE-LABlab(70.22, 1.58, 56.81)
CIE-LCHlch(70.22, 56.83, 88.40°)
OKLaboklab(74.39% -0.0005 0.1275)
OKLCHoklch(74.39% 0.128 90.2)
XYZxyz(39.5306, 41.0630, 10.5455)
Luminance0.4106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA83F #3F62CB
analogous
#CB623F #CBA83F #A8CB3F
triadic
#CBA83F #3FCBA8 #A83FCB
tetradic
#CBA83F #3FCB62 #3F62CB #CB3FA8
square
#CBA83F #3FCB62 #3F62CB #CB3FA8
split-complementary
#CBA83F #3FA8CB #623FCB
monochromatic
#715C1F #A1842C #CBA83F #D8BE6F #E5D49F

Accessibility & contrast

On white

2.28
#CBA83F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#CBA83F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBA83F
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBA83F#FFFFFF#000000##000000
##CBA83F1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA631
Deuteranopia (green-blind)
#C3B044
Tritanopia (blue-blind)
#DB9A92
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cba83f;
/* rgb */ color: rgb(203, 168, 63);
/* oklch */ color: oklch(74.4% 0.128 90.2);
Tailwind
colors: {
  custom: {
    50: '#dfc17a',
    500: '#cba83f',
    950: '#000000',
  },
}
SCSS
$custom: #cba83f;
$custom-light: #dfc17a;
$custom-dark: #000000;
JSON
{
  "hex": "#cba83f",
  "rgb": {
    "r": 203,
    "g": 168,
    "b": 63
  },
  "hsl": {
    "h": 45,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74393,
    "c": 0.12754,
    "h": 90.2
  },
  "luminance": 0.41061
}

Semantic roles & 50–950 ramp

primary
#CBA83F
secondary
#94A4D1
accent
#6EE147
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CBA83F

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

Preview Lab → · Contrast checker → · Palette generator →

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