#CBA252#CBA252

#CBA252 is a light, moderate orange. Relative luminance 0.391; OKLCH L 73.4% C 0.110 H 82.3°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#CBA252
RGBrgb(203, 162, 82)
HSLhsl(40, 54%, 56%)
HSVhsv(40, 60%, 80%)
CMYKcmyk(0%, 20.2%, 59.6%, 20.4%)
CIE-LABlab(68.86, 6.01, 46.63)
CIE-LCHlch(68.86, 47.02, 82.66°)
OKLaboklab(73.38% 0.0147 0.1086)
OKLCHoklch(73.38% 0.11 82.3)
XYZxyz(39.0739, 39.1488, 13.4794)
Luminance0.3915 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA252 #527BCB
analogous
#CB6552 #CBA252 #B8CB52
triadic
#CBA252 #52CBA2 #A252CB
tetradic
#CBA252 #52CB65 #527BCB #CB52B8
square
#CBA252 #52CB65 #527BCB #CB52B8
split-complementary
#CBA252 #52B8CB #6552CB
monochromatic
#7D5F26 #AC8334 #CBA252 #D9BB81 #E7D5B0

Accessibility & contrast

On white

2.38
#CBA252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#CBA252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBA252
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBA252#FFFFFF#000000##000000
##CBA2521.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A24A
Deuteranopia (green-blind)
#BDAC55
Tritanopia (blue-blind)
#DB9590
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cba252;
/* rgb */ color: rgb(203, 162, 82);
/* oklch */ color: oklch(73.4% 0.110 82.3);
Tailwind
colors: {
  custom: {
    50: '#debd85',
    500: '#cba252',
    950: '#000000',
  },
}
SCSS
$custom: #cba252;
$custom-light: #debd85;
$custom-dark: #000000;
JSON
{
  "hex": "#cba252",
  "rgb": {
    "r": 203,
    "g": 162,
    "b": 82
  },
  "hsl": {
    "h": 39.669,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.73379,
    "c": 0.10961,
    "h": 82.3
  },
  "luminance": 0.39146
}

Semantic roles & 50–950 ramp

primary
#CBA252
secondary
#A3B4D5
accent
#7CDD4B
background
#FEFBF8
surface
#FCF6EF
border
#D5D0CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CBA252

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

Preview Lab → · Contrast checker → · Palette generator →

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